pub struct DeviceCopyWithPortableBitSemantics<T: PortableBitSemantics + TypeGraphLayout>(/* private fields */);
Implementations§
source§impl<T: PortableBitSemantics + TypeGraphLayout> DeviceCopyWithPortableBitSemantics<T>
impl<T: PortableBitSemantics + TypeGraphLayout> DeviceCopyWithPortableBitSemantics<T>
pub fn into_inner(self) -> T
pub const fn from_ref(reference: &T) -> &Self
pub const fn into_ref(&self) -> &T
pub fn from_mut(reference: &mut T) -> &mut Self
pub fn into_mut(&mut self) -> &mut T
pub const fn from_slice(slice: &[T]) -> &[Self]
pub const fn into_slice(slice: &[Self]) -> &[T]
pub fn from_mut_slice(slice: &mut [T]) -> &mut [Self]
pub fn into_mut_slice(slice: &mut [Self]) -> &mut [T]
Trait Implementations§
source§impl<T: Clone + PortableBitSemantics + TypeGraphLayout> Clone for DeviceCopyWithPortableBitSemantics<T>
impl<T: Clone + PortableBitSemantics + TypeGraphLayout> Clone for DeviceCopyWithPortableBitSemantics<T>
source§fn clone(&self) -> DeviceCopyWithPortableBitSemantics<T>
fn clone(&self) -> DeviceCopyWithPortableBitSemantics<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T> ComputeTypeSet for DeviceCopyWithPortableBitSemantics<T>
impl<T> ComputeTypeSet for DeviceCopyWithPortableBitSemantics<T>
source§impl<T: Debug + PortableBitSemantics + TypeGraphLayout> Debug for DeviceCopyWithPortableBitSemantics<T>
impl<T: Debug + PortableBitSemantics + TypeGraphLayout> Debug for DeviceCopyWithPortableBitSemantics<T>
source§impl<T: PortableBitSemantics + TypeGraphLayout> Deref for DeviceCopyWithPortableBitSemantics<T>
impl<T: PortableBitSemantics + TypeGraphLayout> Deref for DeviceCopyWithPortableBitSemantics<T>
source§impl<T: PortableBitSemantics + TypeGraphLayout> DerefMut for DeviceCopyWithPortableBitSemantics<T>
impl<T: PortableBitSemantics + TypeGraphLayout> DerefMut for DeviceCopyWithPortableBitSemantics<T>
source§impl<T: PortableBitSemantics + TypeGraphLayout> From<T> for DeviceCopyWithPortableBitSemantics<T>
impl<T: PortableBitSemantics + TypeGraphLayout> From<T> for DeviceCopyWithPortableBitSemantics<T>
source§impl<T> TypeLayout for DeviceCopyWithPortableBitSemantics<T>
impl<T> TypeLayout for DeviceCopyWithPortableBitSemantics<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.
impl<T: Copy + PortableBitSemantics + TypeGraphLayout> Copy for DeviceCopyWithPortableBitSemantics<T>
impl<T: PortableBitSemantics + TypeGraphLayout> DeviceCopy for DeviceCopyWithPortableBitSemantics<T>
Auto Trait Implementations§
impl<T> Freeze for DeviceCopyWithPortableBitSemantics<T>where
T: Freeze,
impl<T> PortableBitSemantics for DeviceCopyWithPortableBitSemantics<T>
impl<T> RefUnwindSafe for DeviceCopyWithPortableBitSemantics<T>where
T: RefUnwindSafe,
impl<T> Send for DeviceCopyWithPortableBitSemantics<T>where
T: Send,
impl<T> StackOnly for DeviceCopyWithPortableBitSemantics<T>where
T: StackOnly,
impl<T> Sync for DeviceCopyWithPortableBitSemantics<T>where
T: Sync,
impl<T> Unpin for DeviceCopyWithPortableBitSemantics<T>where
T: Unpin,
impl<T> UnwindSafe for DeviceCopyWithPortableBitSemantics<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> 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.