Struct tfm::ligkern::InfiniteLoopStep
source · pub struct InfiniteLoopStep {
pub instruction_index: usize,
pub post_replacement: (bool, Vec<Char>),
pub post_cursor_position: usize,
}
Expand description
One step in a lig/kern infinite loop.
A vector of these steps is returned in a InfiniteLoopError
.
Fields§
§instruction_index: usize
The index of the instruction to apply in this step.
post_replacement: (bool, Vec<Char>)
The replacement text after applying this step.
The boolean specifies whether the replacement begins with the left boundary char.
post_cursor_position: usize
The position of the cursor after applying this step.
Trait Implementations§
source§impl Clone for InfiniteLoopStep
impl Clone for InfiniteLoopStep
source§fn clone(&self) -> InfiniteLoopStep
fn clone(&self) -> InfiniteLoopStep
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 InfiniteLoopStep
impl Debug for InfiniteLoopStep
source§impl PartialEq<InfiniteLoopStep> for InfiniteLoopStep
impl PartialEq<InfiniteLoopStep> for InfiniteLoopStep
source§fn eq(&self, other: &InfiniteLoopStep) -> bool
fn eq(&self, other: &InfiniteLoopStep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InfiniteLoopStep
impl StructuralEq for InfiniteLoopStep
impl StructuralPartialEq for InfiniteLoopStep
Auto Trait Implementations§
impl RefUnwindSafe for InfiniteLoopStep
impl Send for InfiniteLoopStep
impl Sync for InfiniteLoopStep
impl Unpin for InfiniteLoopStep
impl UnwindSafe for InfiniteLoopStep
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