Struct rust_cuda::alloc::CombinedCudaAlloc
source · pub struct CombinedCudaAlloc<A: CudaAlloc, B: CudaAlloc>(/* private fields */);
Implementations§
Trait Implementations§
source§impl<A: CudaAlloc + EmptyCudaAlloc, B: CudaAlloc + EmptyCudaAlloc> From<CombinedCudaAlloc<A, B>> for NoCudaAlloc
impl<A: CudaAlloc + EmptyCudaAlloc, B: CudaAlloc + EmptyCudaAlloc> From<CombinedCudaAlloc<A, B>> for NoCudaAlloc
source§fn from(val: CombinedCudaAlloc<A, B>) -> Self
fn from(val: CombinedCudaAlloc<A, B>) -> Self
Converts to this type from the input type.
source§impl<A: CudaAlloc + EmptyCudaAlloc, B: CudaAlloc + EmptyCudaAlloc> From<NoCudaAlloc> for CombinedCudaAlloc<A, B>
impl<A: CudaAlloc + EmptyCudaAlloc, B: CudaAlloc + EmptyCudaAlloc> From<NoCudaAlloc> for CombinedCudaAlloc<A, B>
source§fn from(_: NoCudaAlloc) -> Self
fn from(_: NoCudaAlloc) -> Self
Converts to this type from the input type.
impl<A: CudaAlloc, B: CudaAlloc> CudaAlloc for CombinedCudaAlloc<A, B>
impl<A: CudaAlloc + EmptyCudaAlloc, B: CudaAlloc + EmptyCudaAlloc> EmptyCudaAlloc for CombinedCudaAlloc<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for CombinedCudaAlloc<A, B>
impl<A, B> PortableBitSemantics for CombinedCudaAlloc<A, B>where
A: PortableBitSemantics,
B: PortableBitSemantics,
impl<A, B> RefUnwindSafe for CombinedCudaAlloc<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for CombinedCudaAlloc<A, B>
impl<A, B> StackOnly for CombinedCudaAlloc<A, B>
impl<A, B> Sync for CombinedCudaAlloc<A, B>
impl<A, B> Unpin for CombinedCudaAlloc<A, B>
impl<A, B> UnwindSafe for CombinedCudaAlloc<A, B>where
A: UnwindSafe,
B: 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> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more