Struct jujutsu_lib::index::IndexEntry
source · [−]pub struct IndexEntry<'a> { /* private fields */ }Implementations
sourceimpl<'a> IndexEntry<'a>
impl<'a> IndexEntry<'a>
pub fn position(&self) -> IndexPosition
pub fn generation_number(&self) -> u32
pub fn commit_id(&self) -> CommitId
pub fn change_id(&self) -> ChangeId
pub fn num_parents(&self) -> u32
pub fn parent_positions(&self) -> Vec<IndexPosition>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn parents(&self) -> Vec<IndexEntry<'a>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
sourceimpl<'a> Clone for IndexEntry<'a>
impl<'a> Clone for IndexEntry<'a>
sourcefn clone(&self) -> IndexEntry<'a>
fn clone(&self) -> IndexEntry<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for IndexEntry<'_>
impl Debug for IndexEntry<'_>
sourceimpl Hash for IndexEntry<'_>
impl Hash for IndexEntry<'_>
sourceimpl PartialEq<IndexEntry<'_>> for IndexEntry<'_>
impl PartialEq<IndexEntry<'_>> for IndexEntry<'_>
impl Eq for IndexEntry<'_>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for IndexEntry<'a>
impl<'a> !Send for IndexEntry<'a>
impl<'a> !Sync for IndexEntry<'a>
impl<'a> Unpin for IndexEntry<'a>
impl<'a> !UnwindSafe for IndexEntry<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more