pub enum TypeKind {
String,
Int,
Float,
Bool,
Pipe,
List,
Map,
Handle,
Duration,
Path,
}Variants§
Implementations§
Source§impl TypeKind
impl TypeKind
pub const CANONICAL: &[TypeKind]
Sourcepub fn label(&self) -> &'static str
pub fn label(&self) -> &'static str
Canonical display name. This is the single source of truth for the
type vocabulary: anchors, doc titles, FromStr, and the ArgType /
FlagValueType display labels all derive from these strings.
Trait Implementations§
impl Copy for TypeKind
impl Eq for TypeKind
impl StructuralPartialEq for TypeKind
Auto Trait Implementations§
impl Freeze for TypeKind
impl RefUnwindSafe for TypeKind
impl Send for TypeKind
impl Sync for TypeKind
impl Unpin for TypeKind
impl UnsafeUnpin for TypeKind
impl UnwindSafe for TypeKind
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