#[repr(C)]pub struct magma_exec_command_buffer {
pub resource_index: u32,
pub unused: u32,
pub start_offset: u64,
}
Fields§
§resource_index: u32
§unused: u32
§start_offset: u64
Trait Implementations§
Source§impl Clone for magma_exec_command_buffer
impl Clone for magma_exec_command_buffer
Source§fn clone(&self) -> magma_exec_command_buffer
fn clone(&self) -> magma_exec_command_buffer
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 Debug for magma_exec_command_buffer
impl Debug for magma_exec_command_buffer
Source§impl Default for magma_exec_command_buffer
impl Default for magma_exec_command_buffer
Source§fn default() -> magma_exec_command_buffer
fn default() -> magma_exec_command_buffer
Returns the “default value” for a type. Read more
Source§impl FromBytes for magma_exec_command_buffer
impl FromBytes for magma_exec_command_buffer
Source§impl FromZeros for magma_exec_command_buffer
impl FromZeros for magma_exec_command_buffer
Source§impl IntoBytes for magma_exec_command_buffer
impl IntoBytes for magma_exec_command_buffer
§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 magma_exec_command_buffer
impl TryFromBytes for magma_exec_command_buffer
§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 magma_exec_command_buffer
impl Immutable for magma_exec_command_buffer
Auto Trait Implementations§
impl Freeze for magma_exec_command_buffer
impl RefUnwindSafe for magma_exec_command_buffer
impl Send for magma_exec_command_buffer
impl Sync for magma_exec_command_buffer
impl Unpin for magma_exec_command_buffer
impl UnwindSafe for magma_exec_command_buffer
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