pub enum FragmentRef<'a, M> {
Value(&'a Meta<Value<M>, M>),
Entry(&'a Entry<M>),
Key(&'a Meta<Key, M>),
}
740
741
742
fn strip(self) -> Self::Stripped {
self.strip()
}
819
820
821
822
823
824
825
826
827
fn next(&mut self) -> Option<Self::Item> {
match self.stack.pop() {
Some(v) => {
self.stack.extend(v.sub_fragments());
Some(v)
}
None => None,
}
}
Performs copy-assignment from
source
.
Read more
Wraps
self
inside a
Meta<Self, M>
using the given
metadata
.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.