#[repr(C)]pub struct IODataQueueMemory {
pub queueSize: u32,
pub head: u32,
pub tail: u32,
pub queue: [IODataQueueEntry; 1],
}Expand description
A struct mapping to the header region of a data queue.
This struct is variable sized. The struct represents the data queue header information plus a pointer to the actual data queue itself. The size of the struct is the combined size of the header fields (3 * sizeof(UInt32)) plus the actual size of the queue region. This size is stored in the queueSize field. Field: queueSize The size of the queue region pointed to by the queue field. Field: head The location of the queue head. This field is represented as a byte offset from the beginning of the queue memory region. Field: tail The location of the queue tail. This field is represented as a byte offset from the beginning of the queue memory region. Field: queue Represents the beginning of the queue memory region. The size of the region pointed to by queue is stored in the queueSize field.
See also Apple’s documentation
Fields§
§queueSize: u32§head: u32§tail: u32§queue: [IODataQueueEntry; 1]Trait Implementations§
Source§impl Clone for IODataQueueMemory
impl Clone for IODataQueueMemory
Source§fn clone(&self) -> IODataQueueMemory
fn clone(&self) -> IODataQueueMemory
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IODataQueueMemory
impl Debug for IODataQueueMemory
Source§impl Encode for IODataQueueMemory
Available on crate feature objc2 only.
impl Encode for IODataQueueMemory
objc2 only.Source§impl PartialEq for IODataQueueMemory
impl PartialEq for IODataQueueMemory
Source§impl RefEncode for IODataQueueMemory
Available on crate feature objc2 only.
impl RefEncode for IODataQueueMemory
objc2 only.