pub struct EurePath(pub Vec<PathSegment>);Tuple Fields§
§0: Vec<PathSegment>Implementations§
Source§impl EurePath
impl EurePath
Sourcepub fn iter(&self) -> impl Iterator<Item = &PathSegment>
pub fn iter(&self) -> impl Iterator<Item = &PathSegment>
Iterates over the collection.
Sourcepub fn reserve(&mut self, additional: usize)
pub fn reserve(&mut self, additional: usize)
Reserves capacity for at least additional more elements to be inserted in the collection.
Sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Construct a new empty collection with the specified capacity.
Trait Implementations§
Source§impl Extend<PathSegment> for EurePath
impl Extend<PathSegment> for EurePath
Source§fn extend<I: IntoIterator<Item = PathSegment>>(&mut self, iter: I)
fn extend<I: IntoIterator<Item = PathSegment>>(&mut self, iter: I)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl From<Vec<PathSegment>> for EurePath
impl From<Vec<PathSegment>> for EurePath
Source§fn from(field: Vec<PathSegment>) -> Self
fn from(field: Vec<PathSegment>) -> Self
Converts to this type from the input type.
Source§impl FromIterator<PathSegment> for EurePath
impl FromIterator<PathSegment> for EurePath
Source§fn from_iter<I: IntoIterator<Item = PathSegment>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = PathSegment>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl<'plural> IntoIterator for &'plural EurePath
impl<'plural> IntoIterator for &'plural EurePath
Source§impl IntoIterator for EurePath
impl IntoIterator for EurePath
impl Eq for EurePath
impl StructuralPartialEq for EurePath
Auto Trait Implementations§
impl Freeze for EurePath
impl RefUnwindSafe for EurePath
impl Send for EurePath
impl Sync for EurePath
impl Unpin for EurePath
impl UnwindSafe for EurePath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.