Struct project2::worktree::RepositoryEntry
source · pub struct RepositoryEntry { /* private fields */ }
Implementations§
source§impl RepositoryEntry
impl RepositoryEntry
pub fn branch(&self) -> Option<Arc<str>>
pub fn work_directory_id(&self) -> ProjectEntryId
pub fn work_directory( &self, snapshot: &Snapshot ) -> Option<RepositoryWorkDirectory>
pub fn build_update(&self, _: &Self) -> RepositoryEntry
Trait Implementations§
source§impl Clone for RepositoryEntry
impl Clone for RepositoryEntry
source§fn clone(&self) -> RepositoryEntry
fn clone(&self) -> RepositoryEntry
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RepositoryEntry
impl Debug for RepositoryEntry
source§impl From<&RepositoryEntry> for RepositoryEntry
impl From<&RepositoryEntry> for RepositoryEntry
source§fn from(value: &RepositoryEntry) -> Self
fn from(value: &RepositoryEntry) -> Self
Converts to this type from the input type.
source§impl PartialEq<RepositoryEntry> for RepositoryEntry
impl PartialEq<RepositoryEntry> for RepositoryEntry
source§fn eq(&self, other: &RepositoryEntry) -> bool
fn eq(&self, other: &RepositoryEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RepositoryEntry
impl StructuralEq for RepositoryEntry
impl StructuralPartialEq for RepositoryEntry
Auto Trait Implementations§
impl RefUnwindSafe for RepositoryEntry
impl Send for RepositoryEntry
impl Sync for RepositoryEntry
impl Unpin for RepositoryEntry
impl UnwindSafe for RepositoryEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.