#[repr(C)]pub struct switch_serial_event_s {
pub event_id: c_int,
pub priority: c_int,
pub flags: c_int,
pub owner: *mut c_char,
pub subclass_name: *mut c_char,
pub body: *mut c_char,
}Fields§
§event_id: c_int§priority: c_int§flags: c_int§owner: *mut c_char§subclass_name: *mut c_char§body: *mut c_charTrait Implementations§
Source§impl Clone for switch_serial_event_s
impl Clone for switch_serial_event_s
Source§fn clone(&self) -> switch_serial_event_s
fn clone(&self) -> switch_serial_event_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_serial_event_s
impl Debug for switch_serial_event_s
Source§impl Default for switch_serial_event_s
impl Default for switch_serial_event_s
impl Copy for switch_serial_event_s
Auto Trait Implementations§
impl Freeze for switch_serial_event_s
impl RefUnwindSafe for switch_serial_event_s
impl !Send for switch_serial_event_s
impl !Sync for switch_serial_event_s
impl Unpin for switch_serial_event_s
impl UnsafeUnpin for switch_serial_event_s
impl UnwindSafe for switch_serial_event_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