[][src]Struct nu_protocol::hir::Block

pub struct Block {
    pub block: Vec<Commands>,
    pub span: Span,
}

Fields

block: Vec<Commands>span: Span

Implementations

impl Block[src]

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

pub fn push(&mut self, commands: Commands)[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

pub fn set_redirect(&mut self, external_redirection: ExternalRedirection)[src]

Trait Implementations

impl Clone for Block[src]

impl Debug for Block[src]

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

impl Eq for Block[src]

impl Hash for Block[src]

impl Ord for Block[src]

impl PartialEq<Block> for Block[src]

impl PartialOrd<Block> for Block[src]

impl Serialize for Block[src]

impl StructuralEq for Block[src]

impl StructuralPartialEq for Block[src]

Auto Trait Implementations

impl RefUnwindSafe for Block

impl Send for Block

impl Sync for Block

impl Unpin for Block

impl UnwindSafe for Block

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> Serialize for T where
    T: Serialize + ?Sized
[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.