i_slint_core::lengths

Trait RectLengths

Source
pub trait RectLengths {
    type SizeType;
    type LengthType;

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

Required Associated Types§

Required Methods§

Source

fn size_length(&self) -> Self::SizeType

Source

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

Source

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

Implementations on Foreign Types§

Source§

impl<T: Copy, U> RectLengths for Rect<T, U>

Implementors§