chisel::cmd

Type Alias CmdDescriptor

Source
pub type CmdDescriptor = (&'static [&'static str], &'static str, CmdCategory);
Expand description

A command descriptor type

Trait Implementations§

Source§

impl From<ChiselCommand> for CmdDescriptor

Convert a ChiselCommand into a CmdDescriptor tuple

Source§

fn from(cmd: ChiselCommand) -> Self

Converts to this type from the input type.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes