Trait void_app_api::Unit

source ·
pub trait Unit {
    // Required methods
    fn percent(&self) -> Length;
    fn pixels(&self) -> Length;
}

Required Methods§

source

fn percent(&self) -> Length

source

fn pixels(&self) -> Length

Implementors§

source§

impl<T: Into<i32> + Clone> Unit for T