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