Skip to main content

percent

Macro percent 

Source
macro_rules! percent {
    ($percent:expr) => { ... };
}
Expand description

Shorthand macro for Sizing::Percent. The value has to be in range 0.0..=1.0.