Struct rust_cuda::utils::ffi::DeviceMutPointer
source · pub struct DeviceMutPointer<T: ?Sized>(/* private fields */);
Implementations§
source§impl<T: ?Sized> DeviceMutPointer<T>
impl<T: ?Sized> DeviceMutPointer<T>
pub const fn as_const(self) -> DeviceConstPointer<T>
source§impl<T> DeviceMutPointer<[T]>
impl<T> DeviceMutPointer<[T]>
pub fn into_raw_parts(self) -> (DeviceMutPointer<T>, usize)
Trait Implementations§
source§impl<T: ?Sized> Clone for DeviceMutPointer<T>
impl<T: ?Sized> Clone for DeviceMutPointer<T>
source§impl<T> ComputeTypeSet for DeviceMutPointer<T>where
T: ComputeTypeSet + ?Sized,
impl<T> ComputeTypeSet for DeviceMutPointer<T>where
T: ComputeTypeSet + ?Sized,
source§impl<T> TypeLayout for DeviceMutPointer<T>where
T: TypeLayout + ?Sized,
impl<T> TypeLayout for DeviceMutPointer<T>where
T: TypeLayout + ?Sized,
§type Inhabited = <And<<*mut T as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output
type Inhabited = <And<<*mut T as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output
Marker type for whether the type is
inhabited or
uninhabited.
The associated type must be either
inhabited::Inhabited
or inhabited::Uninhabited
.source§const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
const TYPE_LAYOUT: TypeLayoutInfo<'static> = _
Shallow layout of the type.
impl<T: ?Sized> Copy for DeviceMutPointer<T>
impl<T: PortableBitSemantics> PortableBitSemantics for DeviceMutPointer<T>
Auto Trait Implementations§
impl<T> Freeze for DeviceMutPointer<T>where
T: ?Sized,
impl<T> RefUnwindSafe for DeviceMutPointer<T>where
T: RefUnwindSafe + ?Sized,
impl<T> !Send for DeviceMutPointer<T>
impl<T> !StackOnly for DeviceMutPointer<T>
impl<T> !Sync for DeviceMutPointer<T>
impl<T> Unpin for DeviceMutPointer<T>where
T: ?Sized,
impl<T> UnwindSafe for DeviceMutPointer<T>where
T: RefUnwindSafe + ?Sized,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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 moresource§impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
impl<T> TypeGraphLayout for Twhere
T: TypeLayout + ComputeTypeSet,
source§const TYPE_GRAPH: TypeLayoutGraph<'static> = _
const TYPE_GRAPH: TypeLayoutGraph<'static> = _
Shallow layout of the type.