Struct libspa_sys::spa_ringbuffer
source · #[repr(C)]pub struct spa_ringbuffer {
pub readindex: u32,
pub writeindex: u32,
}
Expand description
\addtogroup spa_ringbuffer {
Fields§
§readindex: u32
§writeindex: u32
Trait Implementations§
source§impl Clone for spa_ringbuffer
impl Clone for spa_ringbuffer
source§fn clone(&self) -> spa_ringbuffer
fn clone(&self) -> spa_ringbuffer
Returns a copy 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 spa_ringbuffer
impl Debug for spa_ringbuffer
source§impl PartialEq for spa_ringbuffer
impl PartialEq for spa_ringbuffer
source§fn eq(&self, other: &spa_ringbuffer) -> bool
fn eq(&self, other: &spa_ringbuffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_ringbuffer
impl Eq for spa_ringbuffer
impl StructuralPartialEq for spa_ringbuffer
Auto Trait Implementations§
impl RefUnwindSafe for spa_ringbuffer
impl Send for spa_ringbuffer
impl Sync for spa_ringbuffer
impl Unpin for spa_ringbuffer
impl UnwindSafe for spa_ringbuffer
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