pub struct SignVariable {
pub index: u8,
pub source: u8,
pub argument: i16,
}
Expand description
§64/6c Request/Command
- byte index Destination and first operand variable index. 0..31.
- byte source Source type for second operand. Only 0 and 2 allowed.
- short argument Argument for second operand.
Set the value of variable index to 0 if the value specified by source and argument is equal to 0, 1 if the value specified by source and argument is positive, or -1 if the value specified by source and argument is negative.
§93/9b Reply
- void
Reply indicates success.
Fields§
§index: u8
§source: u8
§argument: i16
Trait Implementations§
Source§impl Clone for SignVariable
impl Clone for SignVariable
Source§fn clone(&self) -> SignVariable
fn clone(&self) -> SignVariable
Returns a copy 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 SignVariable
impl Debug for SignVariable
Source§impl Display for SignVariable
impl Display for SignVariable
Source§impl Opcode for SignVariable
impl Opcode for SignVariable
Source§impl PartialEq for SignVariable
impl PartialEq for SignVariable
impl Eq for SignVariable
impl StructuralPartialEq for SignVariable
Auto Trait Implementations§
impl Freeze for SignVariable
impl RefUnwindSafe for SignVariable
impl Send for SignVariable
impl Sync for SignVariable
impl Unpin for SignVariable
impl UnwindSafe for SignVariable
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