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