pub struct MappingData<T> { /* private fields */ }Implementations§
Source§impl<X> MappingData<X>
impl<X> MappingData<X>
pub fn extended<E>(self, other: impl IntoIterator<Item = E>) -> Selfwhere
Self: Extend<E>,
pub fn with_append(self, other: FlagData) -> Self
pub fn iter( &self, ) -> impl Iterator<Item = (&MapKey, &Result<RuntimeValue, cerr>)>
pub fn inefficient_insert( &mut self, key: impl Into<MapKey>, value: RuntimeValue, )
Trait Implementations§
Source§impl<X> AsRef<RealMapping> for MappingData<X>
impl<X> AsRef<RealMapping> for MappingData<X>
Source§fn as_ref(&self) -> &RealMapping
fn as_ref(&self) -> &RealMapping
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<T> Clone for MappingData<T>
impl<T> Clone for MappingData<T>
Source§impl<T> Debug for MappingData<T>
impl<T> Debug for MappingData<T>
Source§impl<X> Default for MappingData<X>
impl<X> Default for MappingData<X>
Source§impl<'de, T> Deserialize<'de> for MappingData<T>
impl<'de, T> Deserialize<'de> for MappingData<T>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Extend<&'a RuntimeAction> for MappingData<SourceFlag>
impl<'a> Extend<&'a RuntimeAction> for MappingData<SourceFlag>
Source§fn extend<T: IntoIterator<Item = &'a RuntimeAction>>(&mut self, actions: T)
fn extend<T: IntoIterator<Item = &'a RuntimeAction>>(&mut self, actions: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(K, V)> for MappingData<X>
impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(K, V)> for MappingData<X>
Source§fn extend<T: IntoIterator<Item = (K, V)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (K, V)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(Vec<K>, V)> for MappingData<X>
impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(Vec<K>, V)> for MappingData<X>
Source§fn extend<T: IntoIterator<Item = (Vec<K>, V)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (Vec<K>, V)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(VecDeque<K>, V)> for MappingData<X>
impl<X, K: Into<MapKey>, V: Into<RuntimeValue>> Extend<(VecDeque<K>, V)> for MappingData<X>
Source§fn extend<T: IntoIterator<Item = (VecDeque<K>, V)>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = (VecDeque<K>, V)>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl<X> From<BTreeMap<MapKey, Result<RuntimeValue, cerr>>> for MappingData<X>
impl<X> From<BTreeMap<MapKey, Result<RuntimeValue, cerr>>> for MappingData<X>
Source§impl<X> From<BTreeMap<Text, RuntimeValue>> for MappingData<X>
impl<X> From<BTreeMap<Text, RuntimeValue>> for MappingData<X>
Source§impl<X> From<MappingData<X>> for RealMapping
impl<X> From<MappingData<X>> for RealMapping
Source§fn from(value: MappingData<X>) -> Self
fn from(value: MappingData<X>) -> Self
Converts to this type from the input type.
Source§impl<X> From<RealMapping> for MappingData<X>
impl<X> From<RealMapping> for MappingData<X>
Source§fn from(value: RealMapping) -> Self
fn from(value: RealMapping) -> Self
Converts to this type from the input type.
Source§impl<T: PartialEq> PartialEq for MappingData<T>
impl<T: PartialEq> PartialEq for MappingData<T>
Source§fn eq(&self, other: &MappingData<T>) -> bool
fn eq(&self, other: &MappingData<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T: PartialOrd> PartialOrd for MappingData<T>
impl<T: PartialOrd> PartialOrd for MappingData<T>
Source§impl<T> Serialize for MappingData<T>
impl<T> Serialize for MappingData<T>
impl<T: PartialEq> StructuralPartialEq for MappingData<T>
Auto Trait Implementations§
impl<T> Freeze for MappingData<T>
impl<T> RefUnwindSafe for MappingData<T>where
T: RefUnwindSafe,
impl<T> Send for MappingData<T>where
T: Send,
impl<T> Sync for MappingData<T>where
T: Sync,
impl<T> Unpin for MappingData<T>where
T: Unpin,
impl<T> UnsafeUnpin for MappingData<T>
impl<T> UnwindSafe for MappingData<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more