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