#[repr(C)]pub struct SpeexBits {
pub chars: *mut c_char,
pub nbBits: c_int,
pub charPtr: c_int,
pub bitPtr: c_int,
pub owner: c_int,
pub overflow: c_int,
pub buf_size: c_int,
pub reserved1: c_int,
pub reserved2: *mut c_void,
}Expand description
Bit-packing data structure representing (part of) a bit-stream.
Fields§
§chars: *mut c_char< “raw” data
nbBits: c_int< Total number of bits stored in the stream
charPtr: c_int< Position of the byte “cursor”
bitPtr: c_int< Position of the bit “cursor” within the current char
owner: c_int< Does the struct “own” the “raw” buffer (member “chars”)
overflow: c_int< Set to one if we try to read past the valid data
buf_size: c_int< Allocated size for buffer
reserved1: c_int< Reserved for future use
reserved2: *mut c_void< Reserved for future use
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpeexBits
impl RefUnwindSafe for SpeexBits
impl !Send for SpeexBits
impl !Sync for SpeexBits
impl Unpin for SpeexBits
impl UnwindSafe for SpeexBits
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