Struct ruschm::interpreter::library::Library[][src]

pub struct Library<R: RealNumberInternalTrait>(_, _);

Implementations

impl<R: RealNumberInternalTrait> Library<R>[src]

pub fn new(
    library_name: LibraryName,
    definitions: impl IntoIterator<Item = (String, Value<R>)>
) -> Self
[src]

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

pub fn iter_definitions(&self) -> impl Iterator<Item = (&String, &Value<R>)>[src]

Trait Implementations

impl<R: Clone + RealNumberInternalTrait> Clone for Library<R>[src]

impl<R: Debug + RealNumberInternalTrait> Debug for Library<R>[src]

impl<R: PartialEq + RealNumberInternalTrait> PartialEq<Library<R>> for Library<R>[src]

impl<R: RealNumberInternalTrait> StructuralPartialEq for Library<R>[src]

Auto Trait Implementations

impl<R> !RefUnwindSafe for Library<R>

impl<R> !Send for Library<R>

impl<R> !Sync for Library<R>

impl<R> Unpin for Library<R> where
    R: Unpin

impl<R> !UnwindSafe for Library<R>

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.