pub struct Init<T, A = CpuBackend> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T> Deref for Init<T, CpuBackend>
impl<T> Deref for Init<T, CpuBackend>
Source§impl<T> DerefMut for Init<T, CpuBackend>
impl<T> DerefMut for Init<T, CpuBackend>
Source§impl<T: Ord, A: Ord> Ord for Init<T, A>
impl<T: Ord, A: Ord> Ord for Init<T, A>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd, A: PartialOrd> PartialOrd for Init<T, A>
impl<T: PartialOrd, A: PartialOrd> PartialOrd for Init<T, A>
impl<T: Copy> Copy for Init<T, CpuBackend>
impl<T: Eq, A: Eq> Eq for Init<T, A>
impl<T, A> StructuralPartialEq for Init<T, A>
Auto Trait Implementations§
impl<T, A> Freeze for Init<T, A>where
T: Freeze,
impl<T, A> RefUnwindSafe for Init<T, A>where
T: RefUnwindSafe,
A: RefUnwindSafe,
impl<T, A> Send for Init<T, A>
impl<T, A> Sync for Init<T, A>
impl<T, A> Unpin for Init<T, A>
impl<T, A> UnwindSafe for Init<T, A>where
T: UnwindSafe,
A: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more