[][src]Enum artichoke_backend::def::NotDefinedError

pub enum NotDefinedError {
    EnclosingScope(Cow<'static, str>),
    Super(Cow<'static, str>),
    Class(Cow<'static, str>),
    Method(Cow<'static, str>),
    Module(Cow<'static, str>),
    GlobalConstant(Cow<'static, str>),
    ClassConstant(Cow<'static, str>),
    ModuleConstant(Cow<'static, str>),
}

Variants

EnclosingScope(Cow<'static, str>)
Super(Cow<'static, str>)
Class(Cow<'static, str>)
Method(Cow<'static, str>)
Module(Cow<'static, str>)
GlobalConstant(Cow<'static, str>)
ClassConstant(Cow<'static, str>)
ModuleConstant(Cow<'static, str>)

Implementations

impl NotDefinedError[src]

pub fn enclosing_scope<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn super_class<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn class<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn method<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn module<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn global_constant<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn class_constant<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

pub fn module_constant<T>(item: T) -> Self where
    T: Into<Cow<'static, str>>, 
[src]

#[must_use]pub fn fqdn(&self) -> &str[src]

#[must_use]pub const fn item_type(&self) -> &str[src]

Trait Implementations

impl Clone for NotDefinedError[src]

impl Debug for NotDefinedError[src]

impl Display for NotDefinedError[src]

impl Eq for NotDefinedError[src]

impl Error for NotDefinedError[src]

impl From<NotDefinedError> for Error[src]

impl From<NotDefinedError> for Box<dyn RubyException>[src]

impl Hash for NotDefinedError[src]

impl Ord for NotDefinedError[src]

impl PartialEq<NotDefinedError> for NotDefinedError[src]

impl PartialOrd<NotDefinedError> for NotDefinedError[src]

impl RubyException for NotDefinedError[src]

impl StructuralEq for NotDefinedError[src]

impl StructuralPartialEq for NotDefinedError[src]

Auto Trait Implementations

impl RefUnwindSafe for NotDefinedError

impl Send for NotDefinedError

impl Sync for NotDefinedError

impl Unpin for NotDefinedError

impl UnwindSafe for NotDefinedError

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> ToString for T where
    T: Display + ?Sized
[src]

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>, 
[src]