[][src]Struct nu_protocol::hir::Commands

pub struct Commands {
    pub list: Vec<ClassifiedCommand>,
    pub span: Span,
}

Fields

list: Vec<ClassifiedCommand>span: Span

Implementations

impl Commands[src]

pub fn new(span: Span) -> Commands[src]

pub fn push(&mut self, command: ClassifiedCommand)[src]

pub fn expand_it_usage(&mut self)[src]

Convert all shallow uses of $it to each { use of $it }, converting each to a per-row command

Trait Implementations

impl Clone for Commands[src]

impl Debug for Commands[src]

impl<'de> Deserialize<'de> for Commands[src]

impl Eq for Commands[src]

impl Hash for Commands[src]

impl Ord for Commands[src]

impl PartialEq<Commands> for Commands[src]

impl PartialOrd<Commands> for Commands[src]

impl Serialize for Commands[src]

impl StructuralEq for Commands[src]

impl StructuralPartialEq for Commands[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SpannedItem for T[src]

impl<T> TaggedItem for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.