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