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