pub struct TypeDescriptionContainerImpl(pub Vec<(TypeNames, TypeDescription)>);Tuple Fields§
§0: Vec<(TypeNames, TypeDescription)>Implementations§
Source§impl TypeDescriptionContainerImpl
impl TypeDescriptionContainerImpl
pub fn find(&self, abi_type_name: &str) -> Option<&TypeDescription>
pub fn find_or_default(&self, abi_type_name: &str) -> TypeDescription
Trait Implementations§
Source§impl Clone for TypeDescriptionContainerImpl
impl Clone for TypeDescriptionContainerImpl
Source§fn clone(&self) -> TypeDescriptionContainerImpl
fn clone(&self) -> TypeDescriptionContainerImpl
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 Debug for TypeDescriptionContainerImpl
impl Debug for TypeDescriptionContainerImpl
Source§impl Default for TypeDescriptionContainerImpl
impl Default for TypeDescriptionContainerImpl
Source§fn default() -> TypeDescriptionContainerImpl
fn default() -> TypeDescriptionContainerImpl
Returns the “default value” for a type. Read more
Source§impl TypeDescriptionContainer for TypeDescriptionContainerImpl
impl TypeDescriptionContainer for TypeDescriptionContainerImpl
fn new() -> Self
fn contains_type(&self, type_name: &str) -> bool
fn insert(&mut self, type_names: TypeNames, type_description: TypeDescription)
fn insert_all(&mut self, other: &Self)
fn reserve_type_name(&mut self, type_names: TypeNames)
Auto Trait Implementations§
impl Freeze for TypeDescriptionContainerImpl
impl RefUnwindSafe for TypeDescriptionContainerImpl
impl Send for TypeDescriptionContainerImpl
impl Sync for TypeDescriptionContainerImpl
impl Unpin for TypeDescriptionContainerImpl
impl UnsafeUnpin for TypeDescriptionContainerImpl
impl UnwindSafe for TypeDescriptionContainerImpl
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