Enum hobo_css::properties::BackgroundAttachment
source · pub enum BackgroundAttachment {
Initial,
Inherit,
Unset,
Scroll,
Fixed,
Local,
}
Variants§
Trait Implementations§
source§impl AppendProperty for BackgroundAttachment
impl AppendProperty for BackgroundAttachment
fn append_property(self, decls: &mut Vec<Property>)
source§impl Clone for BackgroundAttachment
impl Clone for BackgroundAttachment
source§fn clone(&self) -> BackgroundAttachment
fn clone(&self) -> BackgroundAttachment
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 BackgroundAttachment
impl Debug for BackgroundAttachment
source§impl Display for BackgroundAttachment
impl Display for BackgroundAttachment
source§impl From<BackgroundAttachment> for Property
impl From<BackgroundAttachment> for Property
source§fn from(x: BackgroundAttachment) -> Self
fn from(x: BackgroundAttachment) -> Self
Converts to this type from the input type.
source§impl Hash for BackgroundAttachment
impl Hash for BackgroundAttachment
source§impl Ord for BackgroundAttachment
impl Ord for BackgroundAttachment
source§fn cmp(&self, other: &BackgroundAttachment) -> Ordering
fn cmp(&self, other: &BackgroundAttachment) -> 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<BackgroundAttachment> for BackgroundAttachment
impl PartialEq<BackgroundAttachment> for BackgroundAttachment
source§fn eq(&self, other: &BackgroundAttachment) -> bool
fn eq(&self, other: &BackgroundAttachment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BackgroundAttachment> for BackgroundAttachment
impl PartialOrd<BackgroundAttachment> for BackgroundAttachment
source§fn partial_cmp(&self, other: &BackgroundAttachment) -> Option<Ordering>
fn partial_cmp(&self, other: &BackgroundAttachment) -> 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 BackgroundAttachment
impl StructuralEq for BackgroundAttachment
impl StructuralPartialEq for BackgroundAttachment
Auto Trait Implementations§
impl RefUnwindSafe for BackgroundAttachment
impl Send for BackgroundAttachment
impl Sync for BackgroundAttachment
impl Unpin for BackgroundAttachment
impl UnwindSafe for BackgroundAttachment
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