Enum ruschm::library_factory::GenericLibraryFactory[][src]

pub enum GenericLibraryFactory<'a, V> {
    Native(LibraryNameBox<dyn Fn() -> Vec<(String, V)> + 'a>),
    AST(Located<LibraryDefinition>),
}

Variants

Native(LibraryNameBox<dyn Fn() -> Vec<(String, V)> + 'a>)

Implementations

impl<'a, V> GenericLibraryFactory<'a, V>[src]

pub fn get_library_name(&self) -> &LibraryName[src]

pub fn from_char_stream(
    expect_library_name: &LibraryName,
    char_stream: impl Iterator<Item = char>
) -> Result<Self, SchemeError>
[src]

Auto Trait Implementations

impl<'a, V> !RefUnwindSafe for GenericLibraryFactory<'a, V>

impl<'a, V> !Send for GenericLibraryFactory<'a, V>

impl<'a, V> !Sync for GenericLibraryFactory<'a, V>

impl<'a, V> Unpin for GenericLibraryFactory<'a, V>

impl<'a, V> !UnwindSafe for GenericLibraryFactory<'a, V>

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, 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.