Struct uindex::path::MPPath [−][src]
Fields
value: &'a MPSegment
segments: Vec<TSegment>
identity: u64
Implementations
impl<'a> MPPath<'a>
[src]
impl<'a> MPPath<'a>
[src]pub fn new(segments: Vec<TSegment>, value: &'a MPSegment) -> MPPath<'_>
[src]
pub fn len(&self) -> usize
[src]
pub fn starts_with(&self, path: &MPPath<'_>) -> bool
[src]
pub fn paths_after(&'a self, paths: &'a [MPPath<'_>]) -> usize
[src]
pub fn substitute(&'a self, matching: &'a MPMatching<'_>) -> MPPath<'_>
[src]
Trait Implementations
impl<'a> Eq for MPPath<'_>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for MPPath<'a>
impl<'a> Send for MPPath<'a>
impl<'a> Sync for MPPath<'a>
impl<'a> Unpin for MPPath<'a>
impl<'a> UnwindSafe for MPPath<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more