#[repr(C)]pub struct IODataQueueEntry {
pub size: u32,
pub data: [u8; 4],
}Expand description
Represents an entry within the data queue
This is a variable sized struct. The data field simply represents the start of the data region. The size of the data region is stored in the size field. The whole size of the specific entry is the size of a UInt32 plus the size of the data region. Field: size The size of the following data region. Field: data Represents the beginning of the data region. The address of the data field is a pointer to the start of the data region.
See also Apple’s documentation
Fields§
§size: u32§data: [u8; 4]Trait Implementations§
Source§impl Clone for IODataQueueEntry
impl Clone for IODataQueueEntry
Source§fn clone(&self) -> IODataQueueEntry
fn clone(&self) -> IODataQueueEntry
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 IODataQueueEntry
impl Debug for IODataQueueEntry
Source§impl Encode for IODataQueueEntry
Available on crate feature objc2 only.
impl Encode for IODataQueueEntry
Available on crate feature
objc2 only.Source§impl PartialEq for IODataQueueEntry
impl PartialEq for IODataQueueEntry
Source§impl RefEncode for IODataQueueEntry
Available on crate feature objc2 only.
impl RefEncode for IODataQueueEntry
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for IODataQueueEntry
impl StructuralPartialEq for IODataQueueEntry
Auto Trait Implementations§
impl Freeze for IODataQueueEntry
impl RefUnwindSafe for IODataQueueEntry
impl Send for IODataQueueEntry
impl Sync for IODataQueueEntry
impl Unpin for IODataQueueEntry
impl UnwindSafe for IODataQueueEntry
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.