pub struct MoveCommand<'a> {
pub code: i32,
pub string: DbStr<'a>,
pub parameter_a: i32,
pub parameter_b: i32,
pub parameter_c: i32,
}Expand description
One move-route command, owning its string.
Fields§
§code: i32The command code. See move_code.
string: DbStr<'a>The string operand, verbatim; empty for codes that carry none.
parameter_a: i32First integer operand.
parameter_b: i32Second integer operand.
parameter_c: i32Third integer operand.
Trait Implementations§
Source§impl<'a> Clone for MoveCommand<'a>
impl<'a> Clone for MoveCommand<'a>
Source§impl<'a> Debug for MoveCommand<'a>
impl<'a> Debug for MoveCommand<'a>
Source§impl<'a> Default for MoveCommand<'a>
impl<'a> Default for MoveCommand<'a>
impl<'a> Eq for MoveCommand<'a>
Source§impl IntoOwned for MoveCommand<'_>
impl IntoOwned for MoveCommand<'_>
Source§type Owned = MoveCommand<'static>
type Owned = MoveCommand<'static>
The same shape, owning its data.
Source§fn into_owned(self) -> Self::Owned
fn into_owned(self) -> Self::Owned
Copy anything still borrowed, so the result outlives the input buffer.
Source§impl<'a> PartialEq for MoveCommand<'a>
impl<'a> PartialEq for MoveCommand<'a>
impl<'a> StructuralPartialEq for MoveCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for MoveCommand<'a>
impl<'a> RefUnwindSafe for MoveCommand<'a>
impl<'a> Send for MoveCommand<'a>
impl<'a> Sync for MoveCommand<'a>
impl<'a> Unpin for MoveCommand<'a>
impl<'a> UnsafeUnpin for MoveCommand<'a>
impl<'a> UnwindSafe for MoveCommand<'a>
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