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