Struct rust_cuda::alloc::NoCudaAlloc
source · pub struct NoCudaAlloc;
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 CudaAlloc for NoCudaAlloc
impl EmptyCudaAlloc for NoCudaAlloc
Auto Trait Implementations§
impl Freeze for NoCudaAlloc
impl PortableBitSemantics for NoCudaAlloc
impl RefUnwindSafe for NoCudaAlloc
impl Send for NoCudaAlloc
impl StackOnly for NoCudaAlloc
impl Sync for NoCudaAlloc
impl Unpin for NoCudaAlloc
impl UnwindSafe for NoCudaAlloc
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