pub struct CommandQueueTaskDescriptor(pub u128);Expand description
A 128-bit task descriptor in the CQHCI Task Descriptor List (JESD84-B51A, B.2.1)
Tuple Fields§
§0: u128Implementations§
Source§impl CommandQueueTaskDescriptor
impl CommandQueueTaskDescriptor
pub fn valid(&self) -> bool
pub fn end(&self) -> bool
pub fn int(&self) -> bool
pub fn act(&self) -> u8
pub fn forced_programming(&self) -> bool
pub fn context_id(&self) -> u8
pub fn tag_request(&self) -> bool
pub fn data_direction(&self) -> bool
pub fn priority(&self) -> bool
pub fn qbr(&self) -> bool
pub fn reliable_write(&self) -> bool
pub fn block_count(&self) -> u16
pub fn block_offset(&self) -> u32
pub fn dun(&self) -> u32
pub fn cci(&self) -> u8
pub fn ce(&self) -> bool
pub fn set_valid(&mut self, value: bool)
pub fn set_end(&mut self, value: bool)
pub fn set_int(&mut self, value: bool)
pub fn set_act(&mut self, value: u8)
pub fn set_forced_programming(&mut self, value: bool)
pub fn set_context_id(&mut self, value: u8)
pub fn set_tag_request(&mut self, value: bool)
pub fn set_data_direction(&mut self, value: bool)
pub fn set_priority(&mut self, value: bool)
pub fn set_qbr(&mut self, value: bool)
pub fn set_reliable_write(&mut self, value: bool)
pub fn set_block_count(&mut self, value: u16)
pub fn set_block_offset(&mut self, value: u32)
pub fn set_dun(&mut self, value: u32)
pub fn set_cci(&mut self, value: u8)
pub fn set_ce(&mut self, value: bool)
Trait Implementations§
Source§impl<T> BitRange<T> for CommandQueueTaskDescriptor
impl<T> BitRange<T> for CommandQueueTaskDescriptor
Source§impl<T> BitRangeMut<T> for CommandQueueTaskDescriptorwhere
u128: BitRangeMut<T>,
impl<T> BitRangeMut<T> for CommandQueueTaskDescriptorwhere
u128: BitRangeMut<T>,
Source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
Source§impl Clone for CommandQueueTaskDescriptor
impl Clone for CommandQueueTaskDescriptor
Source§fn clone(&self) -> CommandQueueTaskDescriptor
fn clone(&self) -> CommandQueueTaskDescriptor
Returns a duplicate 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 CommandQueueTaskDescriptor
impl Debug for CommandQueueTaskDescriptor
Source§impl FromBytes for CommandQueueTaskDescriptor
impl FromBytes for CommandQueueTaskDescriptor
Source§impl FromZeros for CommandQueueTaskDescriptor
impl FromZeros for CommandQueueTaskDescriptor
Source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes. Read moreSource§fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
fn new_box_zeroed() -> Result<Box<Self>, AllocError>where
Self: Sized,
Creates a
Box<Self> from zeroed bytes. Read moreSource§fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
fn new_vec_zeroed(len: usize) -> Result<Vec<Self>, AllocError>where
Self: Sized,
Creates a
Vec<Self> from zeroed bytes. Read moreSource§fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
fn extend_vec_zeroed(
v: &mut Vec<Self>,
additional: usize,
) -> Result<(), AllocError>where
Self: Sized,
Extends a
Vec<Self> by pushing additional new items onto the end of
the vector. The new items are initialized with zeros.Source§impl IntoBytes for CommandQueueTaskDescriptor
impl IntoBytes for CommandQueueTaskDescriptor
Source§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
Source§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 CommandQueueTaskDescriptorwhere
u128: TryFromBytes,
impl TryFromBytes for CommandQueueTaskDescriptorwhere
u128: TryFromBytes,
Source§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,
Source§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,
Source§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 CommandQueueTaskDescriptor
impl Eq for CommandQueueTaskDescriptor
impl Immutable for CommandQueueTaskDescriptor
impl StructuralPartialEq for CommandQueueTaskDescriptor
Auto Trait Implementations§
impl Freeze for CommandQueueTaskDescriptor
impl RefUnwindSafe for CommandQueueTaskDescriptor
impl Send for CommandQueueTaskDescriptor
impl Sync for CommandQueueTaskDescriptor
impl Unpin for CommandQueueTaskDescriptor
impl UnsafeUnpin for CommandQueueTaskDescriptor
impl UnwindSafe for CommandQueueTaskDescriptor
Blanket Implementations§
Source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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