[][src]Struct atomic_lib::store::Store

pub struct Store { /* fields omitted */ }

The in-memory store of data, containing the Resources, Properties and Classes

Implementations

impl Store[src]

pub fn init() -> Store[src]

Create an empty Store. This is where you start.

Example

let store = Store::init();

pub fn read_store_from_file<'a>(
    &mut self,
    path: &'a PathBuf
) -> AtomicResult<()>
[src]

Reads an .ad3 (Atomic Data Triples) graph and adds it to the store

pub fn write_store_to_disk(&mut self, path: &PathBuf) -> AtomicResult<()>[src]

Serializes the current store and saves to path

Trait Implementations

impl Clone for Store[src]

impl Storelike for Store[src]

Auto Trait Implementations

impl RefUnwindSafe for Store

impl Send for Store

impl Sync for Store

impl Unpin for Store

impl UnwindSafe for Store

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