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