pub enum SubstitutionOp {
Append(Substitution),
Prepend(Substitution),
Remove(Substitution),
}Expand description
A substitution operation to apply to a default substitution list.
Used when the subs attribute contains modifier syntax (+quotes, -callouts, quotes+).
Variants§
Append(Substitution)
+name - append substitution to end of default list
Prepend(Substitution)
name+ - prepend substitution to beginning of default list
Remove(Substitution)
-name - remove substitution from default list
Trait Implementations§
Source§impl Clone for SubstitutionOp
impl Clone for SubstitutionOp
Source§fn clone(&self) -> SubstitutionOp
fn clone(&self) -> SubstitutionOp
Returns a duplicate 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 SubstitutionOp
impl Debug for SubstitutionOp
Source§impl Display for SubstitutionOp
impl Display for SubstitutionOp
Source§impl Hash for SubstitutionOp
impl Hash for SubstitutionOp
Source§impl PartialEq for SubstitutionOp
impl PartialEq for SubstitutionOp
impl Eq for SubstitutionOp
impl StructuralPartialEq for SubstitutionOp
Auto Trait Implementations§
impl Freeze for SubstitutionOp
impl RefUnwindSafe for SubstitutionOp
impl Send for SubstitutionOp
impl Sync for SubstitutionOp
impl Unpin for SubstitutionOp
impl UnwindSafe for SubstitutionOp
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