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