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