Struct nu_parser::LiteCommand[][src]

pub struct LiteCommand {
    pub parts: Vec<Spanned<String>>,
    pub comments: Option<Vec<LiteComment>>,
}

A LiteCommand is a list of words that will get meaning when processed by the parser.

Fields

parts: Vec<Spanned<String>>comments: Option<Vec<LiteComment>>

Preceding comments.

Implementations

impl LiteCommand[src]

pub fn comments_joined(&self) -> String[src]

Trait Implementations

impl Clone for LiteCommand[src]

impl Debug for LiteCommand[src]

impl Default for LiteCommand[src]

impl HasSpan for LiteCommand[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> From<T> for T[src]

impl<T> HasFallibleSpan for T where
    T: HasSpan
[src]

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

impl<T> IntoSpanned for T where
    T: HasFallibleSpan
[src]

type Output = T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,