[−][src]Enum safina::OptionABCDE
Variants
Implementations
impl<T> OptionABCDE<T, T, T, T, T>
[src]
impl<A, B, C, D, E> OptionABCDE<A, B, C, D, E>
[src]
pub fn as_ref(&self) -> OptionABCDE<&A, &B, &C, &D, &E>
[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]
pub fn e(&self) -> Option<&E>
[src]
impl<A, B, C, D, E> OptionABCDE<A, B, C, D, E> where
C: Debug,
E: Debug,
B: Debug,
A: Debug,
D: Debug,
[src]
C: Debug,
E: Debug,
B: Debug,
A: Debug,
D: Debug,
pub fn unwrap_a(self) -> A
[src]
pub fn unwrap_b(self) -> B
[src]
pub fn unwrap_c(self) -> C
[src]
pub fn unwrap_d(self) -> D
[src]
pub fn unwrap_e(self) -> E
[src]
Trait Implementations
impl<A, B, C, D, E> Clone for OptionABCDE<A, B, C, D, E> where
C: Clone,
E: Clone,
B: Clone,
A: Clone,
D: Clone,
[src]
C: Clone,
E: Clone,
B: Clone,
A: Clone,
D: Clone,
pub fn clone(&self) -> OptionABCDE<A, B, C, D, E>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A, B, C, D, E> Debug for OptionABCDE<A, B, C, D, E> where
C: Debug,
E: Debug,
B: Debug,
A: Debug,
D: Debug,
[src]
C: Debug,
E: Debug,
B: Debug,
A: Debug,
D: Debug,
impl<A, B, C, D, E> Display for OptionABCDE<A, B, C, D, E> where
C: Display,
E: Display,
B: Display,
A: Display,
D: Display,
[src]
C: Display,
E: Display,
B: Display,
A: Display,
D: Display,
impl<A, B, C, D, E> Eq for OptionABCDE<A, B, C, D, E> where
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
A: PartialEq<A>,
D: PartialEq<D>,
[src]
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
A: PartialEq<A>,
D: PartialEq<D>,
impl<A, B, C, D, E> PartialEq<OptionABCDE<A, B, C, D, E>> for OptionABCDE<A, B, C, D, E> where
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
A: PartialEq<A>,
D: PartialEq<D>,
[src]
C: PartialEq<C>,
E: PartialEq<E>,
B: PartialEq<B>,
A: PartialEq<A>,
D: PartialEq<D>,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for OptionABCDE<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
[src]
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for OptionABCDE<A, B, C, D, E> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
[src]
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for OptionABCDE<A, B, C, D, E> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
[src]
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for OptionABCDE<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
[src]
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for OptionABCDE<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
[src]
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: 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>,