Enum hobo_css::properties::Opacity
source · pub enum Opacity {
Initial,
Inherit,
Unset,
Number(F32),
}
Variants§
Trait Implementations§
source§impl AppendProperty for Opacity
impl AppendProperty for Opacity
fn append_property(self, decls: &mut Vec<Property>)
source§impl Ord for Opacity
impl Ord for Opacity
source§impl PartialEq<Opacity> for Opacity
impl PartialEq<Opacity> for Opacity
source§impl PartialOrd<Opacity> for Opacity
impl PartialOrd<Opacity> for Opacity
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 Opacity
impl StructuralEq for Opacity
impl StructuralPartialEq for Opacity
Auto Trait Implementations§
impl RefUnwindSafe for Opacity
impl Send for Opacity
impl Sync for Opacity
impl Unpin for Opacity
impl UnwindSafe for Opacity
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