Enum i_slint_core::items::ImageFit
source · #[repr(C)]
pub enum ImageFit {
Fill,
Contain,
Cover,
}Variants§
Trait Implementations§
impl Copy for ImageFit
impl Eq for ImageFit
impl StructuralEq for ImageFit
impl StructuralPartialEq for ImageFit
Auto Trait Implementations§
impl RefUnwindSafe for ImageFit
impl Send for ImageFit
impl Sync for ImageFit
impl Unpin for ImageFit
impl UnwindSafe for ImageFit
Blanket Implementations§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.