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