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