pub struct ConflictClaim { /* private fields */ }Expand description
Typed conflict claim attached to one segment.
Implementations§
Source§impl ConflictClaim
impl ConflictClaim
Sourcepub const fn new(key: ConflictKey, mode: ConflictMode) -> Self
pub const fn new(key: ConflictKey, mode: ConflictMode) -> Self
Creates one conflict claim.
Sourcepub const fn key(&self) -> &ConflictKey
pub const fn key(&self) -> &ConflictKey
Returns the conflict key.
Sourcepub const fn mode(&self) -> ConflictMode
pub const fn mode(&self) -> ConflictMode
Returns replacement behavior.
Trait Implementations§
Source§impl Clone for ConflictClaim
impl Clone for ConflictClaim
Source§fn clone(&self) -> ConflictClaim
fn clone(&self) -> ConflictClaim
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 moreSource§impl Debug for ConflictClaim
impl Debug for ConflictClaim
Source§impl<'de> Deserialize<'de> for ConflictClaim
impl<'de> Deserialize<'de> for ConflictClaim
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ConflictClaim
Source§impl Hash for ConflictClaim
impl Hash for ConflictClaim
Source§impl PartialEq for ConflictClaim
impl PartialEq for ConflictClaim
Source§impl Serialize for ConflictClaim
impl Serialize for ConflictClaim
impl StructuralPartialEq for ConflictClaim
Auto Trait Implementations§
impl Freeze for ConflictClaim
impl RefUnwindSafe for ConflictClaim
impl Send for ConflictClaim
impl Sync for ConflictClaim
impl Unpin for ConflictClaim
impl UnsafeUnpin for ConflictClaim
impl UnwindSafe for ConflictClaim
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