pub struct Map {
pub inner: BTreeMap<Expression, Expression>,
}Expand description
Map.
Fields§
§inner: BTreeMap<Expression, Expression>Inner.
Implementations§
Source§impl Map
impl Map
Sourcepub fn into_get<KeyT>(&self, key: KeyT) -> Option<&Expression>where
KeyT: Into<Expression>,
pub fn into_get<KeyT>(&self, key: KeyT) -> Option<&Expression>where
KeyT: Into<Expression>,
Get.
Trait Implementations§
impl Eq for Map
Source§impl From<BTreeMap<Expression, Expression>> for Map
impl From<BTreeMap<Expression, Expression>> for Map
Source§fn from(inner: BTreeMap<Expression, Expression>) -> Self
fn from(inner: BTreeMap<Expression, Expression>) -> Self
Converts to this type from the input type.
Source§impl From<Map> for Expression
impl From<Map> for Expression
Source§impl FromIterator<(Expression, Expression)> for Map
impl FromIterator<(Expression, Expression)> for Map
Source§impl GuestMapResource for Map
impl GuestMapResource for Map
fn new(key_value_pairs: Vec<(Expression, Expression)>) -> Self
fn inner(&self) -> Vec<(Expression, Expression)>
fn length(&self) -> u64
Source§impl Ord for Map
impl Ord for Map
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Map
impl PartialOrd for Map
impl StructuralPartialEq for Map
Auto Trait Implementations§
impl Freeze for Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnsafeUnpin for Map
impl UnwindSafe for Map
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