pub enum ReplacementEnforce {
Pre,
Normal,
Post,
}
Expand description
Enforce replacement order when two replacement start and end are both equal
Variants§
Trait Implementations§
Source§impl Clone for ReplacementEnforce
impl Clone for ReplacementEnforce
Source§fn clone(&self) -> ReplacementEnforce
fn clone(&self) -> ReplacementEnforce
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 ReplacementEnforce
impl Debug for ReplacementEnforce
Source§impl Default for ReplacementEnforce
impl Default for ReplacementEnforce
Source§fn default() -> ReplacementEnforce
fn default() -> ReplacementEnforce
Returns the “default value” for a type. Read more
Source§impl Hash for ReplacementEnforce
impl Hash for ReplacementEnforce
Source§impl Ord for ReplacementEnforce
impl Ord for ReplacementEnforce
Source§fn cmp(&self, other: &ReplacementEnforce) -> Ordering
fn cmp(&self, other: &ReplacementEnforce) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReplacementEnforce
impl PartialEq for ReplacementEnforce
Source§impl PartialOrd for ReplacementEnforce
impl PartialOrd for ReplacementEnforce
impl Copy for ReplacementEnforce
impl Eq for ReplacementEnforce
impl StructuralPartialEq for ReplacementEnforce
Auto Trait Implementations§
impl Freeze for ReplacementEnforce
impl RefUnwindSafe for ReplacementEnforce
impl Send for ReplacementEnforce
impl Sync for ReplacementEnforce
impl Unpin for ReplacementEnforce
impl UnwindSafe for ReplacementEnforce
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