enum RangeMappingKind {
Mutable,
Immutable,
}
Variants§
Implementations§
Source§impl RangeMappingKind
impl RangeMappingKind
Sourcefn allowed_concurrently_with(self, other: Self) -> bool
fn allowed_concurrently_with(self, other: Self) -> bool
Returns true if a range of this kind can touch the same bytes as a range of the other kind.
This is Rust’s Mutable XOR Shared rule.
Trait Implementations§
Source§impl Clone for RangeMappingKind
impl Clone for RangeMappingKind
Source§fn clone(&self) -> RangeMappingKind
fn clone(&self) -> RangeMappingKind
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 RangeMappingKind
impl Debug for RangeMappingKind
impl Copy for RangeMappingKind
Auto Trait Implementations§
impl Freeze for RangeMappingKind
impl RefUnwindSafe for RangeMappingKind
impl Send for RangeMappingKind
impl Sync for RangeMappingKind
impl Unpin for RangeMappingKind
impl UnwindSafe for RangeMappingKind
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