Trait i_slint_core::lengths::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§