[][src]Enum kargs::Emitted

pub enum Emitted {
    Positional(usizeString),
    Named(StringValue),
}

Variants

Positional(usizeString)
Named(StringValue)

Methods

impl Emitted[src]

pub fn into_value(self) -> Value[src]

pub fn as_ref<'a>(&'a self) -> EmittedRef<'a>[src]

pub fn was_duplicate(self) -> Error[src]

pub fn was_extra(self) -> Error[src]

Trait Implementations

impl Clone for Emitted[src]

impl Debug for Emitted[src]

impl FromIterator<Emitted> for Generic[src]

Auto Trait Implementations

impl RefUnwindSafe for Emitted

impl Send for Emitted

impl Sync for Emitted

impl Unpin for Emitted

impl UnwindSafe for Emitted

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, U> Into<U> for T where
    U: From<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.