Enum safina::OptionAbcd
source · [−]pub enum OptionAbcd<A, B, C, D> {
A(A),
B(B),
C(C),
D(D),
}
Variants
A(A)
B(B)
C(C)
D(D)
Implementations
sourceimpl<T> OptionAbcd<T, T, T, T>
impl<T> OptionAbcd<T, T, T, T>
sourceimpl<A, B, C, D> OptionAbcd<A, B, C, D>
impl<A, B, C, D> OptionAbcd<A, B, C, D>
Trait Implementations
sourceimpl<A, B, C, D> Clone for OptionAbcd<A, B, C, D> where
A: Clone,
B: Clone,
C: Clone,
D: Clone,
impl<A, B, C, D> Clone for OptionAbcd<A, B, C, D> where
A: Clone,
B: Clone,
C: Clone,
D: Clone,
sourcepub fn clone(&self) -> OptionAbcd<A, B, C, D>
pub fn clone(&self) -> OptionAbcd<A, B, C, D>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<A, B, C, D> Debug for OptionAbcd<A, B, C, D> where
A: Debug,
B: Debug,
C: Debug,
D: Debug,
impl<A, B, C, D> Debug for OptionAbcd<A, B, C, D> where
A: Debug,
B: Debug,
C: Debug,
D: Debug,
sourceimpl<A, B, C, D> Display for OptionAbcd<A, B, C, D> where
A: Display,
B: Display,
C: Display,
D: Display,
impl<A, B, C, D> Display for OptionAbcd<A, B, C, D> where
A: Display,
B: Display,
C: Display,
D: Display,
sourceimpl<A, B, C, D> PartialEq<OptionAbcd<A, B, C, D>> for OptionAbcd<A, B, C, D> where
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
impl<A, B, C, D> PartialEq<OptionAbcd<A, B, C, D>> for OptionAbcd<A, B, C, D> where
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
impl<A, B, C, D> Eq for OptionAbcd<A, B, C, D> where
A: PartialEq<A>,
B: PartialEq<B>,
C: PartialEq<C>,
D: PartialEq<D>,
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for OptionAbcd<A, B, C, D> where
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,
impl<A, B, C, D> Sync for OptionAbcd<A, B, C, D> where
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,
impl<A, B, C, D> UnwindSafe for OptionAbcd<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more