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