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