Struct rust_cuda::utils::ffi::DeviceConstPointer
source · pub struct DeviceConstPointer<T: ?Sized>(/* private fields */);
Implementations§
source§impl<T> DeviceConstPointer<[T]>
impl<T> DeviceConstPointer<[T]>
pub fn into_raw_parts(self) -> (DeviceConstPointer<T>, usize)
Trait Implementations§
source§impl<T: ?Sized> Clone for DeviceConstPointer<T>
impl<T: ?Sized> Clone for DeviceConstPointer<T>
source§impl<T> ComputeTypeSet for DeviceConstPointer<T>where
T: ComputeTypeSet + ?Sized,
impl<T> ComputeTypeSet for DeviceConstPointer<T>where
T: ComputeTypeSet + ?Sized,
source§impl<T> TypeLayout for DeviceConstPointer<T>where
T: TypeLayout + ?Sized,
impl<T> TypeLayout for DeviceConstPointer<T>where
T: TypeLayout + ?Sized,
§type Inhabited = <And<<*const T as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output
type Inhabited = <And<<*const 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 DeviceConstPointer<T>
impl<T: PortableBitSemantics> PortableBitSemantics for DeviceConstPointer<T>
Auto Trait Implementations§
impl<T> Freeze for DeviceConstPointer<T>where
T: ?Sized,
impl<T> RefUnwindSafe for DeviceConstPointer<T>where
T: RefUnwindSafe + ?Sized,
impl<T> !Send for DeviceConstPointer<T>
impl<T> !StackOnly for DeviceConstPointer<T>
impl<T> !Sync for DeviceConstPointer<T>
impl<T> Unpin for DeviceConstPointer<T>where
T: ?Sized,
impl<T> UnwindSafe for DeviceConstPointer<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.