pub struct CommandNumber(/* private fields */);Expand description
A command’s number in its sandbox’s execution, the controller’s: 1, 2, … in the order the commands were sent. A replay’s commands have their recording’s numbers.
Implementations§
Trait Implementations§
Source§impl Clone for CommandNumber
impl Clone for CommandNumber
impl Copy for CommandNumber
Source§impl Debug for CommandNumber
impl Debug for CommandNumber
Source§impl<'de> Deserialize<'de> for CommandNumber
impl<'de> Deserialize<'de> for CommandNumber
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CommandNumber
impl Display for CommandNumber
impl Eq for CommandNumber
Source§impl Hash for CommandNumber
impl Hash for CommandNumber
Source§impl Ord for CommandNumber
impl Ord for CommandNumber
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CommandNumber
impl PartialEq for CommandNumber
Source§impl PartialOrd for CommandNumber
impl PartialOrd for CommandNumber
Source§impl Serialize for CommandNumber
impl Serialize for CommandNumber
impl StructuralPartialEq for CommandNumber
Auto Trait Implementations§
impl Forget for CommandNumber
impl Freeze for CommandNumber
impl RefUnwindSafe for CommandNumber
impl Send for CommandNumber
impl Sync for CommandNumber
impl Unpin for CommandNumber
impl UnsafeUnpin for CommandNumber
impl UnwindSafe for CommandNumber
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