Enum hobo_css::properties::BackgroundBlendMode
source · pub enum BackgroundBlendMode {
Show 13 variants
Initial,
Inherit,
Unset,
Normal,
Multiply,
Screen,
Overlay,
Darken,
Lighten,
ColorDodge,
Saturation,
Color,
Luminosity,
}
Variants§
Initial
Inherit
Unset
Normal
Multiply
Screen
Overlay
Darken
Lighten
ColorDodge
Saturation
Color
Luminosity
Trait Implementations§
source§impl AppendProperty for BackgroundBlendMode
impl AppendProperty for BackgroundBlendMode
fn append_property(self, decls: &mut Vec<Property>)
source§impl Clone for BackgroundBlendMode
impl Clone for BackgroundBlendMode
source§fn clone(&self) -> BackgroundBlendMode
fn clone(&self) -> BackgroundBlendMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BackgroundBlendMode
impl Debug for BackgroundBlendMode
source§impl Display for BackgroundBlendMode
impl Display for BackgroundBlendMode
source§impl From<BackgroundBlendMode> for Property
impl From<BackgroundBlendMode> for Property
source§fn from(x: BackgroundBlendMode) -> Self
fn from(x: BackgroundBlendMode) -> Self
Converts to this type from the input type.
source§impl Hash for BackgroundBlendMode
impl Hash for BackgroundBlendMode
source§impl Ord for BackgroundBlendMode
impl Ord for BackgroundBlendMode
source§fn cmp(&self, other: &BackgroundBlendMode) -> Ordering
fn cmp(&self, other: &BackgroundBlendMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<BackgroundBlendMode> for BackgroundBlendMode
impl PartialEq<BackgroundBlendMode> for BackgroundBlendMode
source§fn eq(&self, other: &BackgroundBlendMode) -> bool
fn eq(&self, other: &BackgroundBlendMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BackgroundBlendMode> for BackgroundBlendMode
impl PartialOrd<BackgroundBlendMode> for BackgroundBlendMode
source§fn partial_cmp(&self, other: &BackgroundBlendMode) -> Option<Ordering>
fn partial_cmp(&self, other: &BackgroundBlendMode) -> Option<Ordering>
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 BackgroundBlendMode
impl StructuralEq for BackgroundBlendMode
impl StructuralPartialEq for BackgroundBlendMode
Auto Trait Implementations§
impl RefUnwindSafe for BackgroundBlendMode
impl Send for BackgroundBlendMode
impl Sync for BackgroundBlendMode
impl Unpin for BackgroundBlendMode
impl UnwindSafe for BackgroundBlendMode
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