pub struct MultiviewerCommand {
pub target: DeviceUid,
pub op: u8,
pub params: Vec<u8>,
}Expand description
A command addressed to a multiviewer.
The parameters past the envelope are exposed as raw bytes: the opcode belongs to the multiviewer module rather than MatrixOS, so beyond the envelope there is no firmware source here to pin per-sub-command field semantics against.
Fields§
§target: DeviceUidThe multiviewer being addressed.
op: u8The sub-opcode. A value this library has no name for still arrives.
params: Vec<u8>Everything after the envelope, empty when the frame carries none.
Trait Implementations§
Source§impl Clone for MultiviewerCommand
impl Clone for MultiviewerCommand
Source§fn clone(&self) -> MultiviewerCommand
fn clone(&self) -> MultiviewerCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MultiviewerCommand
impl Debug for MultiviewerCommand
Source§impl Default for MultiviewerCommand
impl Default for MultiviewerCommand
Source§fn default() -> MultiviewerCommand
fn default() -> MultiviewerCommand
Returns the “default value” for a type. Read more
Source§impl Display for MultiviewerCommand
impl Display for MultiviewerCommand
impl Eq for MultiviewerCommand
Source§impl PartialEq for MultiviewerCommand
impl PartialEq for MultiviewerCommand
impl StructuralPartialEq for MultiviewerCommand
Auto Trait Implementations§
impl Freeze for MultiviewerCommand
impl RefUnwindSafe for MultiviewerCommand
impl Send for MultiviewerCommand
impl Sync for MultiviewerCommand
impl Unpin for MultiviewerCommand
impl UnsafeUnpin for MultiviewerCommand
impl UnwindSafe for MultiviewerCommand
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