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