pub struct StructureInfo {
pub path: String,
pub itemtype: ItemType,
pub help_msg: CmdStr,
}
Expand description
An item in the command tree.
Fields§
§path: String
Period delimited path. Actions are double delimted.
Eg.
- A class:
a.nested.class
- An action:
a.nested.class..action
itemtype: ItemType
Class or Action.
help_msg: CmdStr
The help message.
Trait Implementations§
Source§impl Ord for StructureInfo
impl Ord for StructureInfo
Source§fn cmp(&self, other: &StructureInfo) -> Ordering
fn cmp(&self, other: &StructureInfo) -> Ordering
1.21.0 · 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
Source§impl PartialEq for StructureInfo
impl PartialEq for StructureInfo
Source§impl PartialOrd for StructureInfo
impl PartialOrd for StructureInfo
impl Eq for StructureInfo
Auto Trait Implementations§
impl Freeze for StructureInfo
impl RefUnwindSafe for StructureInfo
impl Send for StructureInfo
impl Sync for StructureInfo
impl Unpin for StructureInfo
impl UnwindSafe for StructureInfo
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