#[repr(C)]pub struct cib_t {
pub read_count: c_uint,
pub write_count: c_uint,
pub mask: c_uint,
}
Expand description
@brief circular integer buffer structure
Fields§
§read_count: c_uint
< number of (successful) read accesses
write_count: c_uint
< number of (successful) write accesses
mask: c_uint
< Size of buffer -1, i.e. mask of the bits
Trait Implementations§
impl Copy for cib_t
Auto Trait Implementations§
impl Freeze for cib_t
impl RefUnwindSafe for cib_t
impl Send for cib_t
impl Sync for cib_t
impl Unpin for cib_t
impl UnwindSafe for cib_t
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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes