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