Struct booklibrs::books::book_sys::BookSystem[][src]

pub struct BookSystem { /* fields omitted */ }

Reader Base structure, which contains only Book interfaces

Implementations

impl BookSystem[src]

pub const fn new() -> Self[src]

Constructs empty Book System

pub fn load(&mut self, reader_base: &mut ReaderBase)[src]

load from .yaml file

Trait Implementations

impl Debug for BookSystem[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Print for BookSystem. It is used for debug code

impl Default for BookSystem[src]

impl FromIterator<Rc<RefCell<TheBook>>> for BookSystem[src]

fn from_iter<T: IntoIterator<Item = Rc<RefCell<TheBook>>>>(iter: T) -> Self[src]

Create Book System from iterator

impl IntoIterator for BookSystem[src]

type Item = Rc<RefCell<TheBook>>

The type of the elements being iterated over.

type IntoIter = IntoIter<Self::Item>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter[src]

Converts Book System to iterator

Auto Trait Implementations

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.