[][src]Struct supergit::prelude::TreeEntry

pub struct TreeEntry { /* fields omitted */ }

An entry in a commit tree

This type is lazily loaded, and can represent either a Blob or a Directory. You can resolve its value by calling resolve()

Implementations

impl TreeEntry[src]

pub fn id(&self) -> HashId[src]

pub fn name(&self) -> Option<&String>[src]

Get a reference to the name of this TreeEntry

pub fn resolve(&self) -> Yield[src]

Resolve this type to a Yield

Trait Implementations

impl Clone for TreeEntry[src]

impl Debug for TreeEntry[src]

impl Eq for TreeEntry[src]

impl PartialEq<TreeEntry> for TreeEntry[src]

impl StructuralEq for TreeEntry[src]

impl StructuralPartialEq for TreeEntry[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> 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.