pub struct CommandTree {
pub nodes: Vec<CommandNode>,
}Expand description
Flattened command hierarchy. Always non-empty; the root command is at index 0.
Fields§
§nodes: Vec<CommandNode>Trait Implementations§
Source§impl Clone for CommandTree
impl Clone for CommandTree
Source§impl Debug for CommandTree
impl Debug for CommandTree
Source§impl<'de> Deserialize<'de> for CommandTree
impl<'de> Deserialize<'de> for CommandTree
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 FromSchema for CommandTree
impl FromSchema for CommandTree
fn from_value(value: &SchemaValue) -> Result<Self, FromSchemaError>
Source§impl IntoSchema for CommandTree
impl IntoSchema for CommandTree
fn type_id() -> TypeId
fn register_in(builder: &mut SchemaBuilder) -> SchemaType
fn to_value(&self) -> SchemaValue
Source§impl PartialEq for CommandTree
impl PartialEq for CommandTree
Source§impl Serialize for CommandTree
impl Serialize for CommandTree
impl StructuralPartialEq for CommandTree
Auto Trait Implementations§
impl Freeze for CommandTree
impl RefUnwindSafe for CommandTree
impl Send for CommandTree
impl Sync for CommandTree
impl Unpin for CommandTree
impl UnsafeUnpin for CommandTree
impl UnwindSafe for CommandTree
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