[−][src]Struct taplo::dom::Entries
New type that adds features to the regular index map, used by root and table nodes.
Implementations
impl Entries
[src]
pub fn new() -> Self
[src]
Creates a new list entry.
pub fn len(&self) -> usize
[src]
Returns the number of elements.
pub fn is_empty(&self) -> bool
[src]
Returns the number of elements.
pub fn iter(&self) -> impl Iterator<Item = (&KeyNode, &EntryNode)>
[src]
Trait Implementations
impl Clone for Entries
[src]
impl Debug for Entries
[src]
impl Default for Entries
[src]
impl Eq for Entries
[src]
impl FromIterator<(KeyNode, EntryNode)> for Entries
[src]
impl Hash for Entries
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntoIterator for Entries
[src]
type Item = (KeyNode, EntryNode)
The type of the elements being iterated over.
type IntoIter = IntoIter<KeyNode, EntryNode>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl PartialEq<Entries> for Entries
[src]
impl StructuralEq for Entries
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Entries
impl !Send for Entries
impl !Sync for Entries
impl Unpin for Entries
impl !UnwindSafe for Entries
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,