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