#[repr(C)]pub struct switch_bitpack_t {Show 13 fields
pub buf: *mut switch_byte_t,
pub buflen: u32,
pub cur: *mut switch_byte_t,
pub bytes: u32,
pub bits_tot: u32,
pub bits_cur: switch_byte_t,
pub bits_rem: switch_byte_t,
pub frame_bits: switch_byte_t,
pub shiftby: switch_byte_t,
pub this_byte: switch_byte_t,
pub under: switch_byte_t,
pub over: switch_byte_t,
pub mode: switch_bitpack_mode_t,
}Fields§
§buf: *mut switch_byte_t§buflen: u32§cur: *mut switch_byte_t§bytes: u32§bits_tot: u32§bits_cur: switch_byte_t§bits_rem: switch_byte_t§frame_bits: switch_byte_t§shiftby: switch_byte_t§this_byte: switch_byte_t§under: switch_byte_t§over: switch_byte_t§mode: switch_bitpack_mode_tTrait Implementations§
Source§impl Clone for switch_bitpack_t
impl Clone for switch_bitpack_t
Source§fn clone(&self) -> switch_bitpack_t
fn clone(&self) -> switch_bitpack_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 switch_bitpack_t
impl Debug for switch_bitpack_t
Source§impl Default for switch_bitpack_t
impl Default for switch_bitpack_t
impl Copy for switch_bitpack_t
Auto Trait Implementations§
impl Freeze for switch_bitpack_t
impl RefUnwindSafe for switch_bitpack_t
impl !Send for switch_bitpack_t
impl !Sync for switch_bitpack_t
impl Unpin for switch_bitpack_t
impl UnsafeUnpin for switch_bitpack_t
impl UnwindSafe for switch_bitpack_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