Enum jujutsu_lib::op_store::RefTarget
source · [−]Variants
Normal(CommitId)
Conflict
Implementations
sourceimpl RefTarget
impl RefTarget
pub fn is_conflict(&self) -> bool
pub fn adds(&self) -> Vec<CommitId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
pub fn has_add(&self, needle: &CommitId) -> bool
pub fn removes(&self) -> Vec<CommitId>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Trait Implementations
impl Eq for RefTarget
impl StructuralEq for RefTarget
impl StructuralPartialEq for RefTarget
Auto Trait Implementations
impl RefUnwindSafe for RefTarget
impl Send for RefTarget
impl Sync for RefTarget
impl Unpin for RefTarget
impl UnwindSafe for RefTarget
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