[][src]Struct batbox::AutoSave

pub struct AutoSave<T: Serialize> { /* fields omitted */ }

Methods

impl<T: Serialize + for<'de> Deserialize<'de> + Default> AutoSave<T>[src]

pub fn load(path: &str) -> Self[src]

impl<T: Serialize> AutoSave<T>[src]

pub fn save(&self)[src]

Trait Implementations

impl<T: Serialize> Deref for AutoSave<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Serialize> DerefMut for AutoSave<T>[src]

impl<T: Serialize> Drop for AutoSave<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for AutoSave<T>

impl<T> Send for AutoSave<T> where
    T: Send

impl<T> !Sync for AutoSave<T>

impl<T> Unpin for AutoSave<T> where
    T: Unpin

impl<T> UnwindSafe for AutoSave<T> where
    T: UnwindSafe

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,