pub struct Dictionary {
pub key_type: TypeRef,
pub value_type: TypeRef,
}Fields§
§key_type: TypeRef§value_type: TypeRefTrait Implementations§
Source§impl AsTypes for Dictionary
impl AsTypes for Dictionary
fn concrete_type(&self) -> Types<'_>
Source§impl Debug for Dictionary
impl Debug for Dictionary
Source§impl<'a> TryFrom<&'a Node> for &'a Dictionary
impl<'a> TryFrom<&'a Node> for &'a Dictionary
Source§fn try_from(node: &'a Node) -> Result<&'a Dictionary, Self::Error>
fn try_from(node: &'a Node) -> Result<&'a Dictionary, Self::Error>
Attempts to unwrap a node to the specified concrete type.
If the Slice element held by the node is the specified type, this succeeds, and returns the unwrapped element in the requested container. Otherwise this method fails and returns an error message.
Source§type Error = LookupError
type Error = LookupError
The type returned in the event of a conversion error.
Source§impl Type for Dictionary
impl Type for Dictionary
fn type_string(&self) -> String
Auto Trait Implementations§
impl Freeze for Dictionary
impl !RefUnwindSafe for Dictionary
impl !Send for Dictionary
impl !Sync for Dictionary
impl Unpin for Dictionary
impl UnsafeUnpin for Dictionary
impl !UnwindSafe for Dictionary
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