Struct simple_db_rust::Catalog[][src]

pub struct Catalog { /* fields omitted */ }

Implementations

impl Catalog[src]

pub fn global() -> &'static mut Self[src]

pub fn get_table(&self, key: &i32) -> Option<&Rc<RefCell<BTreeTable>>>[src]

pub fn add_table(&mut self, file: Rc<RefCell<BTreeTable>>)[src]

Auto Trait Implementations

impl !RefUnwindSafe for Catalog

impl !Send for Catalog

impl !Sync for Catalog

impl Unpin for Catalog

impl !UnwindSafe for Catalog

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.