[][src]Struct geng_core::prelude::AutoSave

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

Implementations

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

pub fn load(path: &str) -> AutoSave<T>[src]

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

pub fn save(&self)[src]

Trait Implementations

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

type Target = T

The resulting type after dereferencing.

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

impl<T> Drop for AutoSave<T> where
    T: Serialize
[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> SetParameter for T

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