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