[][src]Struct libipld::path::Path

pub struct Path(_);

Represents a path in an ipld dag.

Implementations

impl Path[src]

pub fn iter(&self) -> impl Iterator<Item = &str>[src]

Iterate over path segments.

pub fn join<T: AsRef<str>>(&mut self, segment: T)[src]

Join segment.

Trait Implementations

impl Clone for Path[src]

impl Debug for Path[src]

impl Default for Path[src]

impl Eq for Path[src]

impl<'_> From<&'_ str> for Path[src]

impl From<String> for Path[src]

impl<'_> From<Vec<&'_ str, Global>> for Path[src]

impl From<Vec<String, Global>> for Path[src]

impl Hash for Path[src]

impl PartialEq<Path> for Path[src]

impl StructuralEq for Path[src]

impl StructuralPartialEq for Path[src]

impl ToString for Path[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> References<RawCodec> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.