#[repr(C)]pub struct kumquat_gpu_protocol_ctx_create {
pub hdr: kumquat_gpu_protocol_ctrl_hdr,
pub nlen: u32,
pub context_init: u32,
pub debug_name: [u8; 64],
}
Fields§
§hdr: kumquat_gpu_protocol_ctrl_hdr
§nlen: u32
§context_init: u32
§debug_name: [u8; 64]
Trait Implementations§
source§impl Clone for kumquat_gpu_protocol_ctx_create
impl Clone for kumquat_gpu_protocol_ctx_create
source§fn clone(&self) -> kumquat_gpu_protocol_ctx_create
fn clone(&self) -> kumquat_gpu_protocol_ctx_create
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 FromBytes for kumquat_gpu_protocol_ctx_create
impl FromBytes for kumquat_gpu_protocol_ctx_create
source§impl FromZeros for kumquat_gpu_protocol_ctx_create
impl FromZeros for kumquat_gpu_protocol_ctx_create
source§impl IntoBytes for kumquat_gpu_protocol_ctx_createwhere
kumquat_gpu_protocol_ctrl_hdr: IntoBytes,
u32: IntoBytes,
[u8; 64]: IntoBytes,
(): PaddingFree<Self, { _ }>,
impl IntoBytes for kumquat_gpu_protocol_ctx_createwhere
kumquat_gpu_protocol_ctrl_hdr: IntoBytes,
u32: IntoBytes,
[u8; 64]: IntoBytes,
(): PaddingFree<Self, { _ }>,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
source§impl TryFromBytes for kumquat_gpu_protocol_ctx_create
impl TryFromBytes for kumquat_gpu_protocol_ctx_create
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for kumquat_gpu_protocol_ctx_create
impl Immutable for kumquat_gpu_protocol_ctx_create
Auto Trait Implementations§
impl Freeze for kumquat_gpu_protocol_ctx_create
impl RefUnwindSafe for kumquat_gpu_protocol_ctx_create
impl Send for kumquat_gpu_protocol_ctx_create
impl Sync for kumquat_gpu_protocol_ctx_create
impl Unpin for kumquat_gpu_protocol_ctx_create
impl UnwindSafe for kumquat_gpu_protocol_ctx_create
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: 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> 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
)