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