#[repr(C, u8)]pub enum OptionLayoutBoxSizingValue {
None,
Some(LayoutBoxSizingValue),
}Variants§
None
Some(LayoutBoxSizingValue)
Implementations§
Source§impl OptionLayoutBoxSizingValue
impl OptionLayoutBoxSizingValue
pub fn into_option(&self) -> Option<LayoutBoxSizingValue>
Source§impl OptionLayoutBoxSizingValue
impl OptionLayoutBoxSizingValue
pub fn as_option(&self) -> Option<&LayoutBoxSizingValue>
pub fn replace( &mut self, value: LayoutBoxSizingValue, ) -> OptionLayoutBoxSizingValue
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub const fn as_ref(&self) -> Option<&LayoutBoxSizingValue>
pub fn as_mut(&mut self) -> Option<&mut LayoutBoxSizingValue>
pub fn map<U, F: FnOnce(LayoutBoxSizingValue) -> U>(self, f: F) -> Option<U>
pub fn and_then<U, F>(self, f: F) -> Option<U>
Trait Implementations§
Source§impl Clone for OptionLayoutBoxSizingValue
impl Clone for OptionLayoutBoxSizingValue
Source§fn clone(&self) -> OptionLayoutBoxSizingValue
fn clone(&self) -> OptionLayoutBoxSizingValue
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 OptionLayoutBoxSizingValue
impl Debug for OptionLayoutBoxSizingValue
Source§impl Default for OptionLayoutBoxSizingValue
impl Default for OptionLayoutBoxSizingValue
Source§fn default() -> OptionLayoutBoxSizingValue
fn default() -> OptionLayoutBoxSizingValue
Returns the “default value” for a type. Read more
Source§impl From<Option<CssPropertyValue<LayoutBoxSizing>>> for OptionLayoutBoxSizingValue
impl From<Option<CssPropertyValue<LayoutBoxSizing>>> for OptionLayoutBoxSizingValue
Source§fn from(o: Option<LayoutBoxSizingValue>) -> OptionLayoutBoxSizingValue
fn from(o: Option<LayoutBoxSizingValue>) -> OptionLayoutBoxSizingValue
Converts to this type from the input type.
Source§impl From<OptionLayoutBoxSizingValue> for Option<LayoutBoxSizingValue>
impl From<OptionLayoutBoxSizingValue> for Option<LayoutBoxSizingValue>
Source§fn from(o: OptionLayoutBoxSizingValue) -> Option<LayoutBoxSizingValue>
fn from(o: OptionLayoutBoxSizingValue) -> Option<LayoutBoxSizingValue>
Converts to this type from the input type.
Source§impl Hash for OptionLayoutBoxSizingValue
impl Hash for OptionLayoutBoxSizingValue
Source§impl Ord for OptionLayoutBoxSizingValue
impl Ord for OptionLayoutBoxSizingValue
Source§fn cmp(&self, other: &OptionLayoutBoxSizingValue) -> Ordering
fn cmp(&self, other: &OptionLayoutBoxSizingValue) -> 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 PartialOrd for OptionLayoutBoxSizingValue
impl PartialOrd for OptionLayoutBoxSizingValue
impl Eq for OptionLayoutBoxSizingValue
impl StructuralPartialEq for OptionLayoutBoxSizingValue
Auto Trait Implementations§
impl Freeze for OptionLayoutBoxSizingValue
impl RefUnwindSafe for OptionLayoutBoxSizingValue
impl Send for OptionLayoutBoxSizingValue
impl Sync for OptionLayoutBoxSizingValue
impl Unpin for OptionLayoutBoxSizingValue
impl UnwindSafe for OptionLayoutBoxSizingValue
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