[][src]Struct sppparse::SparseValueMut

pub struct SparseValueMut<'a, S: DeserializeOwned + Serialize + SparsableTrait> { /* fields omitted */ }

Implementations

impl<'a, S: DeserializeOwned + Serialize + SparsableTrait> SparseValueMut<'a, S>[src]

pub fn path(&self) -> &PathBuf[src]

pub fn pointer(&self) -> &Option<&'a String>[src]

impl<'a, S: DeserializeOwned + Serialize + SparsableTrait> SparseValueMut<'a, S>[src]

pub fn version(&self) -> Option<u64>[src]

impl<'a, S: DeserializeOwned + Serialize + SparsableTrait> SparseValueMut<'a, S>[src]

pub fn version_mut(&mut self) -> &mut Option<u64>[src]

impl<'a, S> SparseValueMut<'a, S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

pub fn sparse_save(&self) -> Result<(), SparseError>[src]

Persists the object to the state. One should call sparse_updt on the root after saving something in the state.

Trait Implementations

impl<'a, S: Debug + DeserializeOwned + Serialize + SparsableTrait> Debug for SparseValueMut<'a, S>[src]

impl<'a, S> Deref for SparseValueMut<'a, S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

type Target = S

The resulting type after dereferencing.

impl<'a, S> DerefMut for SparseValueMut<'a, S> where
    S: DeserializeOwned + Serialize + SparsableTrait
[src]

impl<'a, S> Display for SparseValueMut<'a, S> where
    S: DeserializeOwned + Serialize + SparsableTrait + Display
[src]

Auto Trait Implementations

impl<'a, S> !RefUnwindSafe for SparseValueMut<'a, S>[src]

impl<'a, S> !Send for SparseValueMut<'a, S>[src]

impl<'a, S> !Sync for SparseValueMut<'a, S>[src]

impl<'a, S> Unpin for SparseValueMut<'a, S>[src]

impl<'a, S> !UnwindSafe for SparseValueMut<'a, S>[src]

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> ToString for T where
    T: Display + ?Sized
[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>,