pub struct SparseValue<'a, S> { /* private fields */ }Expand description
§A value extracted from a SparsePointer
Implementations§
Source§impl<'a, S> SparseValue<'a, S>
impl<'a, S> SparseValue<'a, S>
pub fn metadata(&self) -> Option<&'a SparseMetadata>
Source§impl<'a, S> SparseValue<'a, S>
impl<'a, S> SparseValue<'a, S>
pub fn try_deref_raw_pointer<T: 'static + DeserializeOwned + Serialize + SparsableTrait>( curr: &SparseValue<'_, S>, ptr: String, state_cell: Rc<RefCell<SparseState>>, ) -> Result<SparseSelector<T>, SparseError>
Trait Implementations§
Source§impl<'a, S: Clone> Clone for SparseValue<'a, S>
impl<'a, S: Clone> Clone for SparseValue<'a, S>
Source§fn clone(&self) -> SparseValue<'a, S>
fn clone(&self) -> SparseValue<'a, S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, S: Debug> Debug for SparseValue<'a, S>
impl<'a, S: Debug> Debug for SparseValue<'a, S>
Source§impl<'a, S> Deref for SparseValue<'a, S>
impl<'a, S> Deref for SparseValue<'a, S>
Source§impl<'a, S> Display for SparseValue<'a, S>
impl<'a, S> Display for SparseValue<'a, S>
Auto Trait Implementations§
impl<'a, S> Freeze for SparseValue<'a, S>
impl<'a, S> RefUnwindSafe for SparseValue<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for SparseValue<'a, S>where
S: Sync,
impl<'a, S> Sync for SparseValue<'a, S>where
S: Sync,
impl<'a, S> Unpin for SparseValue<'a, S>
impl<'a, S> UnwindSafe for SparseValue<'a, S>where
S: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more