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