pub struct InspectPhrase<P = u32, O = Operand> {
pub mode: InspectMode,
pub pattern: Option<Chars<P, O>>,
pub by: Option<Replacement<P, O>>,
pub counter: Option<(P, StepPlan)>,
pub bounds: Vec<Bound<P, O>>,
}Expand description
pattern is None for CHARACTERS; by is REPLACING’s, and counter TALLYING’s with its add.
Fields§
§mode: InspectMode§pattern: Option<Chars<P, O>>§by: Option<Replacement<P, O>>§counter: Option<(P, StepPlan)>§bounds: Vec<Bound<P, O>>BEFORE and AFTER INITIAL as written; the last of each applies.
Trait Implementations§
Source§impl<P, O> Clone for InspectPhrase<P, O>
impl<P, O> Clone for InspectPhrase<P, O>
Source§fn clone(&self) -> InspectPhrase<P, O>
fn clone(&self) -> InspectPhrase<P, O>
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<P, O> Debug for InspectPhrase<P, O>
impl<P, O> Debug for InspectPhrase<P, O>
Source§impl Decode for InspectPhrase
impl Decode for InspectPhrase
fn decode(r: &mut Reader<'_>) -> Result<InspectPhrase, ModuleError>
impl<P, O> Eq for InspectPhrase<P, O>
Source§impl<P, O> PartialEq for InspectPhrase<P, O>
impl<P, O> PartialEq for InspectPhrase<P, O>
impl<P, O> StructuralPartialEq for InspectPhrase<P, O>
Auto Trait Implementations§
impl<P, O> Freeze for InspectPhrase<P, O>
impl<P, O> RefUnwindSafe for InspectPhrase<P, O>where
Option<Chars<P, O>>: RefUnwindSafe,
Option<Replacement<P, O>>: RefUnwindSafe,
Option<(P, StepPlan)>: RefUnwindSafe,
Vec<Bound<P, O>>: RefUnwindSafe,
impl<P, O> Send for InspectPhrase<P, O>
impl<P, O> Sync for InspectPhrase<P, O>
impl<P, O> Unpin for InspectPhrase<P, O>
impl<P, O> UnsafeUnpin for InspectPhrase<P, O>where
Option<Chars<P, O>>: UnsafeUnpin,
Option<Replacement<P, O>>: UnsafeUnpin,
Option<(P, StepPlan)>: UnsafeUnpin,
Vec<Bound<P, O>>: UnsafeUnpin,
impl<P, O> UnwindSafe for InspectPhrase<P, O>where
Option<Chars<P, O>>: UnwindSafe,
Option<Replacement<P, O>>: UnwindSafe,
Option<(P, StepPlan)>: UnwindSafe,
Vec<Bound<P, O>>: UnwindSafe,
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