pub enum BoxFit {
Fill,
Contain,
}Expand description
图片填充模式
Variants§
Trait Implementations§
impl Copy for BoxFit
impl Eq for BoxFit
impl StructuralPartialEq for BoxFit
Auto Trait Implementations§
impl Forget for BoxFit
impl Freeze for BoxFit
impl Move for BoxFit
impl RefUnwindSafe for BoxFit
impl Send for BoxFit
impl Sync for BoxFit
impl Unpin for BoxFit
impl UnsafeUnpin for BoxFit
impl UnwindSafe for BoxFit
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