#[repr(C)]pub struct coap_block_t {
pub num: c_uint,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub __bindgen_padding_0: [u8; 3],
}
Fields§
§num: c_uint
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§__bindgen_padding_0: [u8; 3]
Implementations§
Source§impl coap_block_t
impl coap_block_t
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 szx(&self) -> c_uint
pub fn set_szx(&mut self, val: c_uint)
pub unsafe fn szx_raw(this: *const Self) -> c_uint
pub unsafe fn set_szx_raw(this: *mut Self, val: c_uint)
pub fn new_bitfield_1(m: c_uint, szx: c_uint) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for coap_block_t
impl Clone for coap_block_t
Source§fn clone(&self) -> coap_block_t
fn clone(&self) -> coap_block_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 coap_block_t
impl Debug for coap_block_t
impl Copy for coap_block_t
Auto Trait Implementations§
impl Freeze for coap_block_t
impl RefUnwindSafe for coap_block_t
impl Send for coap_block_t
impl Sync for coap_block_t
impl Unpin for coap_block_t
impl UnwindSafe for coap_block_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