[][src]Struct artichoke_backend::module::Spec

pub struct Spec { /* fields omitted */ }

Implementations

impl Spec[src]

pub fn new<T>(
    interp: &mut Artichoke,
    name: T,
    enclosing_scope: Option<EnclosingRubyScope>
) -> Result<Self, Error> where
    T: Into<Cow<'static, str>>, 
[src]

#[must_use]pub fn name(&self) -> Cow<'static, str>[src]

#[must_use]pub fn name_c_str(&self) -> &CStr[src]

#[must_use]pub fn enclosing_scope(&self) -> Option<&EnclosingRubyScope>[src]

#[must_use]pub fn fqname(&self) -> Cow<'_, str>[src]

#[must_use]pub fn rclass(&self) -> Rclass[src]

Trait Implementations

impl Clone for Spec[src]

impl Debug for Spec[src]

impl Eq for Spec[src]

impl Hash for Spec[src]

impl PartialEq<Spec> for Spec[src]

Auto Trait Implementations

impl RefUnwindSafe for Spec

impl !Send for Spec

impl !Sync for Spec

impl Unpin for Spec

impl UnwindSafe for Spec

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]