[−][src]Enum safina::OptionABC
Variants
Implementations
impl<T> OptionABC<T, T, T>
[src]
impl<A, B, C> OptionABC<A, B, C>
[src]
pub fn as_ref(&self) -> OptionABC<&A, &B, &C>
[src]
pub fn a(&self) -> Option<&A>
[src]
pub fn b(&self) -> Option<&B>
[src]
pub fn c(&self) -> Option<&C>
[src]
impl<A, B, C> OptionABC<A, B, C> where
C: Debug,
B: Debug,
A: Debug,
[src]
C: Debug,
B: Debug,
A: Debug,
Trait Implementations
impl<A, B, C> Clone for OptionABC<A, B, C> where
C: Clone,
B: Clone,
A: Clone,
[src]
C: Clone,
B: Clone,
A: Clone,
impl<A, B, C> Debug for OptionABC<A, B, C> where
C: Debug,
B: Debug,
A: Debug,
[src]
C: Debug,
B: Debug,
A: Debug,
impl<A, B, C> Display for OptionABC<A, B, C> where
C: Display,
B: Display,
A: Display,
[src]
C: Display,
B: Display,
A: Display,
impl<A, B, C> Eq for OptionABC<A, B, C> where
C: PartialEq<C>,
B: PartialEq<B>,
A: PartialEq<A>,
[src]
C: PartialEq<C>,
B: PartialEq<B>,
A: PartialEq<A>,
impl<A, B, C> PartialEq<OptionABC<A, B, C>> for OptionABC<A, B, C> where
C: PartialEq<C>,
B: PartialEq<B>,
A: PartialEq<A>,
[src]
C: PartialEq<C>,
B: PartialEq<B>,
A: PartialEq<A>,
Auto Trait Implementations
impl<A, B, C> RefUnwindSafe for OptionABC<A, B, C> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
[src]
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
impl<A, B, C> Send for OptionABC<A, B, C> where
A: Send,
B: Send,
C: Send,
[src]
A: Send,
B: Send,
C: Send,
impl<A, B, C> Sync for OptionABC<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
[src]
A: Sync,
B: Sync,
C: Sync,
impl<A, B, C> Unpin for OptionABC<A, B, C> where
A: Unpin,
B: Unpin,
C: Unpin,
[src]
A: Unpin,
B: Unpin,
C: Unpin,
impl<A, B, C> UnwindSafe for OptionABC<A, B, C> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
[src]
A: UnwindSafe,
B: UnwindSafe,
C: 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>,