pub struct KeyedCollectionDescriptor<I: Instance> {
pub len: usize,
pub keys: Vec<Primitive>,
/* private fields */
}Expand description
Dynamically sized key-value collection descriptor
Fields§
§len: usizeContainer length.
keys: Vec<Primitive>Container keys.
Implementations§
Trait Implementations§
Source§impl<I: Clone + Instance> Clone for KeyedCollectionDescriptor<I>
impl<I: Clone + Instance> Clone for KeyedCollectionDescriptor<I>
Source§fn clone(&self) -> KeyedCollectionDescriptor<I>
fn clone(&self) -> KeyedCollectionDescriptor<I>
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<T> Debug for KeyedCollectionDescriptor<T>
impl<T> Debug for KeyedCollectionDescriptor<T>
Source§impl<I: Default + Instance> Default for KeyedCollectionDescriptor<I>
impl<I: Default + Instance> Default for KeyedCollectionDescriptor<I>
Source§fn default() -> KeyedCollectionDescriptor<I>
fn default() -> KeyedCollectionDescriptor<I>
Returns the “default value” for a type. Read more
Source§impl<K, V> Entity for KeyedCollectionDescriptor<HashMap<K, V>>
impl<K, V> Entity for KeyedCollectionDescriptor<HashMap<K, V>>
Source§fn is_container(&self) -> bool
fn is_container(&self) -> bool
Determines if the entity acts as a container for other entities. Read more
Source§fn elements(&self) -> Box<dyn Iterator<Item = KeyVal>>
fn elements(&self) -> Box<dyn Iterator<Item = KeyVal>>
Provides an iterator over the elements contained within the entity, if any. Read more
Source§fn is_ordered(&self) -> bool
fn is_ordered(&self) -> bool
Determines if the elements of the container are maintained in a specific order. Read more
Source§impl<I: PartialEq + Instance> PartialEq for KeyedCollectionDescriptor<I>
impl<I: PartialEq + Instance> PartialEq for KeyedCollectionDescriptor<I>
Source§fn eq(&self, other: &KeyedCollectionDescriptor<I>) -> bool
fn eq(&self, other: &KeyedCollectionDescriptor<I>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<I: Instance> StructuralPartialEq for KeyedCollectionDescriptor<I>
Auto Trait Implementations§
impl<I> Freeze for KeyedCollectionDescriptor<I>
impl<I> RefUnwindSafe for KeyedCollectionDescriptor<I>where
I: RefUnwindSafe,
impl<I> Send for KeyedCollectionDescriptor<I>where
I: Send,
impl<I> Sync for KeyedCollectionDescriptor<I>where
I: Sync,
impl<I> Unpin for KeyedCollectionDescriptor<I>where
I: Unpin,
impl<I> UnwindSafe for KeyedCollectionDescriptor<I>where
I: 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