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