pub struct CommandIndex(pub i32);Expand description
Index into CommandTree::nodes.
Tuple Fields§
§0: i32Implementations§
Trait Implementations§
Source§impl Clone for CommandIndex
impl Clone for CommandIndex
Source§fn clone(&self) -> CommandIndex
fn clone(&self) -> CommandIndex
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 CommandIndex
Source§impl Debug for CommandIndex
impl Debug for CommandIndex
Source§impl<'de> Deserialize<'de> for CommandIndex
impl<'de> Deserialize<'de> for CommandIndex
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandIndex
Source§impl FromSchema for CommandIndex
impl FromSchema for CommandIndex
fn from_value(value: &SchemaValue) -> Result<CommandIndex, FromSchemaError>
Source§impl Hash for CommandIndex
impl Hash for CommandIndex
Source§impl IntoSchema for CommandIndex
impl IntoSchema for CommandIndex
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl Ord for CommandIndex
impl Ord for CommandIndex
Source§fn cmp(&self, other: &CommandIndex) -> Ordering
fn cmp(&self, other: &CommandIndex) -> Ordering
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 CommandIndex
impl PartialEq for CommandIndex
Source§impl PartialOrd for CommandIndex
impl PartialOrd for CommandIndex
Source§impl Serialize for CommandIndex
impl Serialize for CommandIndex
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CommandIndex
Auto Trait Implementations§
impl Freeze for CommandIndex
impl RefUnwindSafe for CommandIndex
impl Send for CommandIndex
impl Sync for CommandIndex
impl Unpin for CommandIndex
impl UnsafeUnpin for CommandIndex
impl UnwindSafe for CommandIndex
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