pub struct Command<T> {
pub opcode: T,
pub operand: u32,
}
Fields§
§opcode: T
§operand: u32
Trait Implementations§
Source§impl<T> Ord for Command<T>where
T: Ord,
impl<T> Ord for Command<T>where
T: Ord,
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T> PartialOrd for Command<T>where
T: PartialOrd,
impl<T> PartialOrd for Command<T>where
T: PartialOrd,
impl<T> Copy for Command<T>where
T: Copy,
impl<T> Eq for Command<T>where
T: Eq,
impl<T> StructuralPartialEq for Command<T>
Auto Trait Implementations§
impl<T> Freeze for Command<T>where
T: Freeze,
impl<T> RefUnwindSafe for Command<T>where
T: RefUnwindSafe,
impl<T> Send for Command<T>where
T: Send,
impl<T> Sync for Command<T>where
T: Sync,
impl<T> Unpin for Command<T>where
T: Unpin,
impl<T> UnwindSafe for Command<T>where
T: UnwindSafe,
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