Struct rust_cuda::utils::ffi::DeviceMutRef
source · pub struct DeviceMutRef<'r, T: PortableBitSemantics + 'r> { /* private fields */ }
Trait Implementations§
source§impl<'r, T: PortableBitSemantics> AsMut<T> for DeviceMutRef<'r, T>
Available on crate feature device
only.
impl<'r, T: PortableBitSemantics> AsMut<T> for DeviceMutRef<'r, T>
Available on crate feature
device
only.source§impl<'r, T: PortableBitSemantics> AsRef<T> for DeviceMutRef<'r, T>
Available on crate feature device
only.
impl<'r, T: PortableBitSemantics> AsRef<T> for DeviceMutRef<'r, T>
Available on crate feature
device
only.source§impl<'r, T> ComputeTypeSet for DeviceMutRef<'r, T>where
T: ComputeTypeSet + PortableBitSemantics + 'r,
impl<'r, T> ComputeTypeSet for DeviceMutRef<'r, T>where
T: ComputeTypeSet + PortableBitSemantics + 'r,
§type Output<__TypeSetRest: ExpandTypeSet> = <<__TypeSetRest as ComputeSet>::Output<PhantomData<&'r mut T>> as ComputeSet>::Output<DeviceMutPointer<T>>
type Output<__TypeSetRest: ExpandTypeSet> = <<__TypeSetRest as ComputeSet>::Output<PhantomData<&'r mut T>> as ComputeSet>::Output<DeviceMutPointer<T>>
Extend the set
T
into a (larger) set containing also the types this
type links to. Read moresource§impl<'r, T> TypeLayout for DeviceMutRef<'r, T>where
T: TypeLayout + PortableBitSemantics + 'r,
impl<'r, T> TypeLayout for DeviceMutRef<'r, T>where
T: TypeLayout + PortableBitSemantics + 'r,
§type Inhabited = <And<<DeviceMutPointer<T> as TypeLayout>::Inhabited, <And<<PhantomData<&'r mut T> as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> as ComputeInhabited>::Output
type Inhabited = <And<<DeviceMutPointer<T> as TypeLayout>::Inhabited, <And<<PhantomData<&'r mut T> as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output> 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.
Auto Trait Implementations§
impl<'r, T> Freeze for DeviceMutRef<'r, T>
impl<'r, T> PortableBitSemantics for DeviceMutRef<'r, T>
impl<'r, T> RefUnwindSafe for DeviceMutRef<'r, T>where
T: RefUnwindSafe,
impl<'r, T> !Send for DeviceMutRef<'r, T>
impl<'r, T> !StackOnly for DeviceMutRef<'r, T>
impl<'r, T> !Sync for DeviceMutRef<'r, T>
impl<'r, T> Unpin for DeviceMutRef<'r, T>
impl<'r, T> !UnwindSafe for DeviceMutRef<'r, T>
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 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.