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