[−][src]Enum sppparse::SparsePointedValue
A raw selector between a raw object, a raw pointer or an owned pointer
The SparsePointedValue allows to switch between a raw, unparsed pointer to a parsed pointer resolved at initialization.
Variants
RefRaw(Box<SparseRefRaw<S>>)Ref(SparseRef<S>)Implementations
impl<S> SparsePointedValue<S>[src]
pub fn default_boxed() -> Box<Self>[src]
Trait Implementations
impl<S: Clone> Clone for SparsePointedValue<S>[src]
fn clone(&self) -> SparsePointedValue<S>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<S: Debug> Debug for SparsePointedValue<S>[src]
impl<S> Default for SparsePointedValue<S>[src]
impl<'de, S> Deserialize<'de> for SparsePointedValue<S> where
S: Deserialize<'de>, [src]
S: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl<S: PartialEq> PartialEq<SparsePointedValue<S>> for SparsePointedValue<S>[src]
fn eq(&self, other: &SparsePointedValue<S>) -> bool[src]
fn ne(&self, other: &SparsePointedValue<S>) -> bool[src]
impl<S> Serialize for SparsePointedValue<S> where
S: Serialize, [src]
S: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<S> Sparsable for SparsePointedValue<S> where
S: DeserializeOwned + Serialize + SparsableTrait, [src]
S: DeserializeOwned + Serialize + SparsableTrait,
fn sparse_init(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>[src]
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
fn sparse_updt<'a>(
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>[src]
&mut self,
state: &mut SparseState,
metadata: &SparseMetadata,
depth: u32
) -> Result<(), SparseError>
fn check_depth(&self, depth: u32) -> Result<(), SparseError>[src]
impl<S> SparsePointerRaw<S> for SparsePointedValue<S> where
S: DeserializeOwned + Serialize + SparsableTrait, [src]
S: DeserializeOwned + Serialize + SparsableTrait,
fn check_version<'a>(
&'a self,
state: &'a SparseState
) -> Result<(), SparseError>[src]
&'a self,
state: &'a SparseState
) -> Result<(), SparseError>
fn get<'a>(
&'a self,
metadata: Option<&'a SparseMetadata>
) -> Result<SparseValue<'a, S>, SparseError>[src]
&'a self,
metadata: Option<&'a SparseMetadata>
) -> Result<SparseValue<'a, S>, SparseError>
fn get_mut<'a>(
&'a mut self,
state_cell: Rc<RefCell<SparseState>>,
metadata: Option<&'a SparseMetadata>
) -> Result<SparseValueMut<'a, S>, SparseError>[src]
&'a mut self,
state_cell: Rc<RefCell<SparseState>>,
metadata: Option<&'a SparseMetadata>
) -> Result<SparseValueMut<'a, S>, SparseError>
fn self_reset<'a>(
&mut self,
state: &mut SparseState,
metadata: &'a SparseMetadata,
depth: u32
) -> Result<(), SparseError>[src]
&mut self,
state: &mut SparseState,
metadata: &'a SparseMetadata,
depth: u32
) -> Result<(), SparseError>
impl<S> StructuralPartialEq for SparsePointedValue<S>[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for SparsePointedValue<S> where
S: RefUnwindSafe, [src]
S: RefUnwindSafe,
impl<S> Send for SparsePointedValue<S> where
S: Send, [src]
S: Send,
impl<S> Sync for SparsePointedValue<S> where
S: Sync, [src]
S: Sync,
impl<S> Unpin for SparsePointedValue<S> where
S: Unpin, [src]
S: Unpin,
impl<S> UnwindSafe for SparsePointedValue<S> where
S: UnwindSafe, [src]
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,