#[repr(C)]pub struct mpsc_pbuf_skip {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Expand description
@brief Skip packet used internally by the packet buffer.
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations§
source§impl mpsc_pbuf_skip
impl mpsc_pbuf_skip
pub fn valid(&self) -> u32
pub fn set_valid(&mut self, val: u32)
pub fn busy(&self) -> u32
pub fn set_busy(&mut self, val: u32)
pub fn len(&self) -> u32
pub fn set_len(&mut self, val: u32)
pub fn new_bitfield_1( valid: u32, busy: u32, len: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for mpsc_pbuf_skip
impl RefUnwindSafe for mpsc_pbuf_skip
impl Send for mpsc_pbuf_skip
impl Sync for mpsc_pbuf_skip
impl Unpin for mpsc_pbuf_skip
impl UnwindSafe for mpsc_pbuf_skip
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