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