#[repr(C)]pub struct mxr_multiviewer_command_t {
pub target: mxr_uid_t,
pub op: u8,
pub params: *const u8,
pub params_len: usize,
}Expand description
A command addressed to a multiviewer.
The parameters are raw: the opcode belongs to the multiviewer module rather than to MatrixOS, so there is no firmware source here to pin per-sub-command field semantics against.
Fields§
§target: mxr_uid_tThe multiviewer being addressed.
op: u8The sub-opcode. A value this library has no name for still arrives.
params: *const u8Everything after the envelope, borrowed for the call.
params_len: usizeLength of params.
Trait Implementations§
Source§impl Clone for mxr_multiviewer_command_t
impl Clone for mxr_multiviewer_command_t
Source§fn clone(&self) -> mxr_multiviewer_command_t
fn clone(&self) -> mxr_multiviewer_command_t
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 moreimpl Copy for mxr_multiviewer_command_t
Auto Trait Implementations§
impl !Send for mxr_multiviewer_command_t
impl !Sync for mxr_multiviewer_command_t
impl Freeze for mxr_multiviewer_command_t
impl RefUnwindSafe for mxr_multiviewer_command_t
impl Unpin for mxr_multiviewer_command_t
impl UnsafeUnpin for mxr_multiviewer_command_t
impl UnwindSafe for mxr_multiviewer_command_t
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