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