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