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