pub struct ExtendedCommand {
pub control: u32,
pub ty: u32,
pub data: *const c_void,
}
Expand description
A command not specifically covered by the Command
enum.
Fields§
§control: u32
The control code for the command.
ty: u32
The event type, if any.
data: *const c_void
The event data, if any.
Trait Implementations§
Source§impl Clone for ExtendedCommand
impl Clone for ExtendedCommand
Source§fn clone(&self) -> ExtendedCommand
fn clone(&self) -> ExtendedCommand
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 ExtendedCommand
impl Debug for ExtendedCommand
Source§impl PartialEq for ExtendedCommand
impl PartialEq for ExtendedCommand
impl Copy for ExtendedCommand
impl Eq for ExtendedCommand
impl Send for ExtendedCommand
impl StructuralPartialEq for ExtendedCommand
impl Sync for ExtendedCommand
Auto Trait Implementations§
impl Freeze for ExtendedCommand
impl RefUnwindSafe for ExtendedCommand
impl Unpin for ExtendedCommand
impl UnwindSafe for ExtendedCommand
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