Struct sppparse::SparseValueMut[][src]

pub struct SparseValueMut<'a, S> { /* fields omitted */ }

Implementations

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

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

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

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

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

impl<'a, S> 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 try_deref_raw_pointer<T: 'static + DeserializeOwned + Serialize + SparsableTrait>(
    curr: &SparseValueMut<'_, S>,
    ptr: String,
    state_cell: Rc<RefCell<SparseState>>
) -> Result<SparseSelector<T>, SparseError>
[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> 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>

impl<'a, S> !Send for SparseValueMut<'a, S>

impl<'a, S> !Sync for SparseValueMut<'a, S>

impl<'a, S> Unpin for SparseValueMut<'a, S>

impl<'a, S> !UnwindSafe for SparseValueMut<'a, S>

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