[−][src]Struct supergit::prelude::TreeEntry
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
impl RefUnwindSafe for TreeEntry
[src]
impl Send for TreeEntry
[src]
impl Sync for TreeEntry
[src]
impl Unpin for TreeEntry
[src]
impl UnwindSafe for TreeEntry
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,