Skip to main content

Module helpers

Module helpers 

Source
Expand description

Small helper functions used inside sys.

If any of these have uses outside of sys, please move them to a different module.

Re-exports§

pub use small_c_string::run_path_with_cstr;
pub use small_c_string::run_with_cstr;
pub use wstr::WStrUnits;

Modules§

small_c_string 🔒
wstr 🔒
This module contains constructs to work with 16-bit characters (UCS-2 or UTF-16)

Functions§

ignore_notfound
mul_div_u64
Computes (value*numerator)/denom without overflow, as long as both numerator*denom and the overall result fit into u64 (which is the case for our time conversions).