#[repr(C, align(4))]pub struct switch_rtcp_hdr_s {
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}Fields§
§_bitfield_align_1: [u16; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>Implementations§
Source§impl switch_rtcp_hdr_s
impl switch_rtcp_hdr_s
pub fn count(&self) -> c_uint
pub fn set_count(&mut self, val: c_uint)
pub unsafe fn count_raw(this: *const Self) -> c_uint
pub unsafe fn set_count_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 type_(&self) -> c_uint
pub fn set_type(&mut self, val: c_uint)
pub unsafe fn type__raw(this: *const Self) -> c_uint
pub unsafe fn set_type_raw(this: *mut Self, val: c_uint)
pub fn length(&self) -> c_uint
pub fn set_length(&mut self, val: c_uint)
pub unsafe fn length_raw(this: *const Self) -> c_uint
pub unsafe fn set_length_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1( count: c_uint, p: c_uint, version: c_uint, type_: c_uint, length: c_uint, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for switch_rtcp_hdr_s
impl Clone for switch_rtcp_hdr_s
Source§fn clone(&self) -> switch_rtcp_hdr_s
fn clone(&self) -> switch_rtcp_hdr_s
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_rtcp_hdr_s
impl Debug for switch_rtcp_hdr_s
Source§impl Default for switch_rtcp_hdr_s
impl Default for switch_rtcp_hdr_s
Source§fn default() -> switch_rtcp_hdr_s
fn default() -> switch_rtcp_hdr_s
Returns the “default value” for a type. Read more
impl Copy for switch_rtcp_hdr_s
Auto Trait Implementations§
impl Freeze for switch_rtcp_hdr_s
impl RefUnwindSafe for switch_rtcp_hdr_s
impl Send for switch_rtcp_hdr_s
impl Sync for switch_rtcp_hdr_s
impl Unpin for switch_rtcp_hdr_s
impl UnsafeUnpin for switch_rtcp_hdr_s
impl UnwindSafe for switch_rtcp_hdr_s
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