#[repr(C)]pub struct switch_rtp_hdr_t {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 12]>,
}Fields§
§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 12]>Implementations§
Source§impl switch_rtp_hdr_t
impl switch_rtp_hdr_t
pub fn cc(&self) -> c_uint
pub fn set_cc(&mut self, val: c_uint)
pub unsafe fn cc_raw(this: *const Self) -> c_uint
pub unsafe fn set_cc_raw(this: *mut Self, val: c_uint)
pub fn x(&self) -> c_uint
pub fn set_x(&mut self, val: c_uint)
pub unsafe fn x_raw(this: *const Self) -> c_uint
pub unsafe fn set_x_raw(this: *mut Self, val: c_uint)
pub fn p(&self) -> c_uint
pub fn set_p(&mut self, val: c_uint)
pub unsafe fn p_raw(this: *const Self) -> c_uint
pub unsafe fn set_p_raw(this: *mut Self, val: c_uint)
pub fn version(&self) -> c_uint
pub fn set_version(&mut self, val: c_uint)
pub unsafe fn version_raw(this: *const Self) -> c_uint
pub unsafe fn set_version_raw(this: *mut Self, val: c_uint)
pub fn pt(&self) -> c_uint
pub fn set_pt(&mut self, val: c_uint)
pub unsafe fn pt_raw(this: *const Self) -> c_uint
pub unsafe fn set_pt_raw(this: *mut Self, val: c_uint)
pub fn m(&self) -> c_uint
pub fn set_m(&mut self, val: c_uint)
pub unsafe fn m_raw(this: *const Self) -> c_uint
pub unsafe fn set_m_raw(this: *mut Self, val: c_uint)
pub fn seq(&self) -> c_uint
pub fn set_seq(&mut self, val: c_uint)
pub unsafe fn seq_raw(this: *const Self) -> c_uint
pub unsafe fn set_seq_raw(this: *mut Self, val: c_uint)
pub fn ts(&self) -> c_uint
pub fn set_ts(&mut self, val: c_uint)
pub unsafe fn ts_raw(this: *const Self) -> c_uint
pub unsafe fn set_ts_raw(this: *mut Self, val: c_uint)
pub fn ssrc(&self) -> c_uint
pub fn set_ssrc(&mut self, val: c_uint)
pub unsafe fn ssrc_raw(this: *const Self) -> c_uint
pub unsafe fn set_ssrc_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( cc: c_uint, x: c_uint, p: c_uint, version: c_uint, pt: c_uint, m: c_uint, seq: c_uint, ts: c_uint, ssrc: c_uint, ) -> __BindgenBitfieldUnit<[u8; 12]>
Trait Implementations§
Source§impl Clone for switch_rtp_hdr_t
impl Clone for switch_rtp_hdr_t
Source§fn clone(&self) -> switch_rtp_hdr_t
fn clone(&self) -> switch_rtp_hdr_t
Returns a duplicate 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 switch_rtp_hdr_t
impl Debug for switch_rtp_hdr_t
Source§impl Default for switch_rtp_hdr_t
impl Default for switch_rtp_hdr_t
Source§fn default() -> switch_rtp_hdr_t
fn default() -> switch_rtp_hdr_t
Returns the “default value” for a type. Read more
impl Copy for switch_rtp_hdr_t
Auto Trait Implementations§
impl Freeze for switch_rtp_hdr_t
impl RefUnwindSafe for switch_rtp_hdr_t
impl Send for switch_rtp_hdr_t
impl Sync for switch_rtp_hdr_t
impl Unpin for switch_rtp_hdr_t
impl UnsafeUnpin for switch_rtp_hdr_t
impl UnwindSafe for switch_rtp_hdr_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