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