pub enum ScrollBehaviorValue {
Initial,
Inherit,
Revert,
RevertLayer,
Unset,
Auto,
Smooth,
}Variants§
Implementations§
Source§impl ScrollBehaviorValue
impl ScrollBehaviorValue
Sourcepub const fn is_initial(&self) -> bool
pub const fn is_initial(&self) -> bool
Returns true if the enum is ScrollBehaviorValue::Initial otherwise false
Sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is ScrollBehaviorValue::Inherit otherwise false
Sourcepub const fn is_revert(&self) -> bool
pub const fn is_revert(&self) -> bool
Returns true if the enum is ScrollBehaviorValue::Revert otherwise false
Sourcepub const fn is_revert_layer(&self) -> bool
pub const fn is_revert_layer(&self) -> bool
Returns true if the enum is ScrollBehaviorValue::RevertLayer otherwise false
Sourcepub const fn is_unset(&self) -> bool
pub const fn is_unset(&self) -> bool
Returns true if the enum is ScrollBehaviorValue::Unset otherwise false
Trait Implementations§
Source§impl Clone for ScrollBehaviorValue
impl Clone for ScrollBehaviorValue
Source§fn clone(&self) -> ScrollBehaviorValue
fn clone(&self) -> ScrollBehaviorValue
Returns a duplicate 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 ScrollBehaviorValue
impl Debug for ScrollBehaviorValue
Source§impl Display for ScrollBehaviorValue
impl Display for ScrollBehaviorValue
Source§impl PartialEq for ScrollBehaviorValue
impl PartialEq for ScrollBehaviorValue
impl StructuralPartialEq for ScrollBehaviorValue
impl UnitDataType<ScrollBehavior<ScrollBehaviorValue>> for ScrollBehaviorValue
Auto Trait Implementations§
impl Freeze for ScrollBehaviorValue
impl RefUnwindSafe for ScrollBehaviorValue
impl Send for ScrollBehaviorValue
impl Sync for ScrollBehaviorValue
impl Unpin for ScrollBehaviorValue
impl UnwindSafe for ScrollBehaviorValue
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