Enum hobo_css::properties::ObjectFit
source · pub enum ObjectFit {
Initial,
Inherit,
Unset,
Fill,
Contain,
Cover,
ScaleDown,
None,
}
Variants§
Trait Implementations§
source§impl AppendProperty for ObjectFit
impl AppendProperty for ObjectFit
fn append_property(self, decls: &mut Vec<Property>)
source§impl Ord for ObjectFit
impl Ord for ObjectFit
source§impl PartialEq<ObjectFit> for ObjectFit
impl PartialEq<ObjectFit> for ObjectFit
source§impl PartialOrd<ObjectFit> for ObjectFit
impl PartialOrd<ObjectFit> for ObjectFit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ObjectFit
impl StructuralEq for ObjectFit
impl StructuralPartialEq for ObjectFit
Auto Trait Implementations§
impl RefUnwindSafe for ObjectFit
impl Send for ObjectFit
impl Sync for ObjectFit
impl Unpin for ObjectFit
impl UnwindSafe for ObjectFit
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