#[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 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