Enum safina_select::OptionAbcd [−][src]
Variants
Implementations
impl<T> OptionAbcd<T, T, T, T>
[src]
impl<A, B, C, D> OptionAbcd<A, B, C, D>
[src]
pub fn as_ref(&self) -> OptionAbcd<&A, &B, &C, &D>
[src]
pub fn a(&self) -> Option<&A>
[src]
pub fn b(&self) -> Option<&B>
[src]
pub fn c(&self) -> Option<&C>
[src]
pub fn d(&self) -> Option<&D>
[src]
impl<A: Debug, B: Debug, C: Debug, D: Debug> OptionAbcd<A, B, C, D>
[src]
pub fn unwrap_a(self) -> A
[src]
Panics
Panics if self
is not an OptionABCD::A
.
pub fn unwrap_b(self) -> B
[src]
Panics
Panics if self
is not an OptionABCD::B
.
pub fn unwrap_c(self) -> C
[src]
Panics
Panics if self
is not an OptionABCD::C
.
pub fn unwrap_d(self) -> D
[src]
Panics
Panics if self
is not an OptionABCD::D
.
Trait Implementations
impl<A: Clone, B: Clone, C: Clone, D: Clone> Clone for OptionAbcd<A, B, C, D>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A: Debug, B: Debug, C: Debug, D: Debug> Debug for OptionAbcd<A, B, C, D>
[src]
impl<A: Display, B: Display, C: Display, D: Display> Display for OptionAbcd<A, B, C, D>
[src]
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> Eq for OptionAbcd<A, B, C, D>
[src]
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq<OptionAbcd<A, B, C, D>> for OptionAbcd<A, B, C, D>
[src]
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for OptionAbcd<A, B, C, D> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> Send for OptionAbcd<A, B, C, D> where
A: Send,
B: Send,
C: Send,
D: Send,
A: Send,
B: Send,
C: Send,
D: Send,
impl<A, B, C, D> Sync for OptionAbcd<A, B, C, D> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
A: Sync,
B: Sync,
C: Sync,
D: Sync,
impl<A, B, C, D> Unpin for OptionAbcd<A, B, C, D> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
impl<A, B, C, D> UnwindSafe for OptionAbcd<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,