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