i_slint_core::lengths

Trait SizeLengths

Source
pub trait SizeLengths {
    type LengthType;

    // Required methods
    fn width_length(&self) -> Self::LengthType;
    fn height_length(&self) -> Self::LengthType;
}

Required Associated Types§

Required Methods§

Source

fn width_length(&self) -> Self::LengthType

Source

fn height_length(&self) -> Self::LengthType

Implementations on Foreign Types§

Source§

impl<T: Copy, U> SizeLengths for Size2D<T, U>

Implementors§