pub struct MergeRelation { /* private fields */ }Implementations§
Source§impl MergeRelation
impl MergeRelation
pub fn new( kind: MergeRelationKind, _current_state_id: StateId, _target_state_id: StateId, merge_base_id: Option<StateId>, conflict_count: usize, ) -> Self
pub fn kind(&self) -> MergeRelationKind
pub fn merge_base_id(&self) -> Option<StateId>
pub fn conflict_count(&self) -> usize
pub fn as_json_value(&self) -> &'static str
Trait Implementations§
Source§impl Clone for MergeRelation
impl Clone for MergeRelation
Source§fn clone(&self) -> MergeRelation
fn clone(&self) -> MergeRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MergeRelation
impl RefUnwindSafe for MergeRelation
impl Send for MergeRelation
impl Sync for MergeRelation
impl Unpin for MergeRelation
impl UnsafeUnpin for MergeRelation
impl UnwindSafe for MergeRelation
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