Struct rust_cuda::utils::ffi::DeviceAccessible
source · pub struct DeviceAccessible<T: PortableBitSemantics + TypeGraphLayout>(/* private fields */);
Trait Implementations§
source§impl<T> ComputeTypeSet for DeviceAccessible<T>
impl<T> ComputeTypeSet for DeviceAccessible<T>
source§impl<T: Debug + PortableBitSemantics + TypeGraphLayout> Debug for DeviceAccessible<T>
impl<T: Debug + PortableBitSemantics + TypeGraphLayout> Debug for DeviceAccessible<T>
source§impl<T: PortableBitSemantics + TypeGraphLayout> Deref for DeviceAccessible<T>
Available on crate feature device
only.
impl<T: PortableBitSemantics + TypeGraphLayout> Deref for DeviceAccessible<T>
Available on crate feature
device
only.source§impl<T: PortableBitSemantics + TypeGraphLayout> DerefMut for DeviceAccessible<T>
Available on crate feature device
only.
impl<T: PortableBitSemantics + TypeGraphLayout> DerefMut for DeviceAccessible<T>
Available on crate feature
device
only.source§impl<T: Copy + PortableBitSemantics + TypeGraphLayout> From<&T> for DeviceAccessible<RustToCudaWithPortableBitCopySemantics<T>>
Available on crate feature host
only.
impl<T: Copy + PortableBitSemantics + TypeGraphLayout> From<&T> for DeviceAccessible<RustToCudaWithPortableBitCopySemantics<T>>
Available on crate feature
host
only.source§impl<T: CudaAsRust> From<T> for DeviceAccessible<T>
Available on crate feature host
only.
impl<T: CudaAsRust> From<T> for DeviceAccessible<T>
Available on crate feature
host
only.source§impl<T> TypeLayout for DeviceAccessible<T>
impl<T> TypeLayout for DeviceAccessible<T>
§type Inhabited = <And<<T as TypeLayout>::Inhabited, Inhabited> as ComputeInhabited>::Output
type Inhabited = <And<<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.
Auto Trait Implementations§
impl<T> Freeze for DeviceAccessible<T>where
T: Freeze,
impl<T> PortableBitSemantics for DeviceAccessible<T>
impl<T> RefUnwindSafe for DeviceAccessible<T>where
T: RefUnwindSafe,
impl<T> Send for DeviceAccessible<T>where
T: Send,
impl<T> StackOnly for DeviceAccessible<T>where
T: StackOnly,
impl<T> Sync for DeviceAccessible<T>where
T: Sync,
impl<T> Unpin for DeviceAccessible<T>where
T: Unpin,
impl<T> UnwindSafe for DeviceAccessible<T>where
T: UnwindSafe,
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.