#[repr(u16)]pub enum ContentScale {
Fit = 1,
Crop = 2,
FillBounds = 3,
}Variants§
Trait Implementations§
Source§impl Clone for ContentScale
impl Clone for ContentScale
impl Copy for ContentScale
Source§impl Debug for ContentScale
impl Debug for ContentScale
impl Eq for ContentScale
Source§impl From<ContentScale> for u16
impl From<ContentScale> for u16
Source§fn from(value: ContentScale) -> Self
fn from(value: ContentScale) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContentScale
impl PartialEq for ContentScale
impl StructuralPartialEq for ContentScale
Auto Trait Implementations§
impl Forget for ContentScale
impl Freeze for ContentScale
impl Move for ContentScale
impl RefUnwindSafe for ContentScale
impl Send for ContentScale
impl Sync for ContentScale
impl Unpin for ContentScale
impl UnsafeUnpin for ContentScale
impl UnwindSafe for ContentScale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more