#[repr(C)]pub struct k_poll_event {
pub _node: _dnode,
pub poller: *mut z_poller,
pub _bitfield_align_1: [u16; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_anon_1: k_poll_event__bindgen_ty_1,
}
Expand description
@brief Poll Event
Fields§
§_node: _dnode
PRIVATE - DO NOT TOUCH
poller: *mut z_poller
PRIVATE - DO NOT TOUCH
_bitfield_align_1: [u16; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§__bindgen_anon_1: k_poll_event__bindgen_ty_1
Implementations§
source§impl k_poll_event
impl k_poll_event
pub fn tag(&self) -> u32
pub fn set_tag(&mut self, val: u32)
pub fn type_(&self) -> u32
pub fn set_type(&mut self, val: u32)
pub fn state(&self) -> u32
pub fn set_state(&mut self, val: u32)
pub fn mode(&self) -> u32
pub fn set_mode(&mut self, val: u32)
pub fn unused(&self) -> u32
pub fn set_unused(&mut self, val: u32)
pub fn new_bitfield_1( tag: u32, type_: u32, state: u32, mode: u32, unused: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Auto Trait Implementations§
impl Freeze for k_poll_event
impl RefUnwindSafe for k_poll_event
impl !Send for k_poll_event
impl !Sync for k_poll_event
impl Unpin for k_poll_event
impl UnwindSafe for k_poll_event
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