[][src]Struct nu_protocol::hir::InternalCommand

pub struct InternalCommand {
    pub name: String,
    pub name_span: Span,
    pub args: Call,
}

Fields

name: Stringname_span: Spanargs: Call

Implementations

impl InternalCommand[src]

pub fn new(name: String, name_span: Span, full_span: Span) -> InternalCommand[src]

pub fn has_it_usage(&self) -> bool[src]

pub fn get_free_variables(
    &self,
    known_variables: &mut Vec<String>
) -> Vec<String>
[src]

Trait Implementations

impl Clone for InternalCommand[src]

impl Debug for InternalCommand[src]

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

impl Eq for InternalCommand[src]

impl Hash for InternalCommand[src]

impl Ord for InternalCommand[src]

impl PartialEq<InternalCommand> for InternalCommand[src]

impl PartialOrd<InternalCommand> for InternalCommand[src]

impl Serialize for InternalCommand[src]

impl StructuralEq for InternalCommand[src]

impl StructuralPartialEq for InternalCommand[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.