Struct libspa_sys::spa_strbuf
source · #[repr(C)]pub struct spa_strbuf {
pub buffer: *mut c_char,
pub maxsize: usize,
pub pos: usize,
}
Fields§
§buffer: *mut c_char
§maxsize: usize
§pos: usize
Trait Implementations§
source§impl Clone for spa_strbuf
impl Clone for spa_strbuf
source§fn clone(&self) -> spa_strbuf
fn clone(&self) -> spa_strbuf
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_strbuf
impl Debug for spa_strbuf
source§impl PartialEq for spa_strbuf
impl PartialEq for spa_strbuf
source§fn eq(&self, other: &spa_strbuf) -> bool
fn eq(&self, other: &spa_strbuf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for spa_strbuf
impl Eq for spa_strbuf
impl StructuralPartialEq for spa_strbuf
Auto Trait Implementations§
impl RefUnwindSafe for spa_strbuf
impl !Send for spa_strbuf
impl !Sync for spa_strbuf
impl Unpin for spa_strbuf
impl UnwindSafe for spa_strbuf
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