Struct minced_parser::RepeatSpacer
source · pub struct RepeatSpacer<'a> {
pub repeat: &'a str,
pub spacer: &'a str,
pub start: usize,
pub end: usize,
pub spacer_start: usize,
pub spacer_end: usize,
pub repeat_start: usize,
pub repeat_end: usize,
}
Expand description
A single repeat and spacer.
Fields§
§repeat: &'a str
Sequence of the repeat.
spacer: &'a str
Sequence of the spacer.
start: usize
Zero-indexed inclusive start coordinate.
end: usize
Zero-indexed exclusive end coordinate.
spacer_start: usize
Zero-indexed inclusive start coordinate of the spacer.
spacer_end: usize
Zero-indexed exclusive end coordinate of the spacer.
repeat_start: usize
Zero-indexed inclusive start coordinate of the repeat.
repeat_end: usize
Zero-indexed exclusive end coordinate of the repeat.
Trait Implementations§
source§impl<'a> Debug for RepeatSpacer<'a>
impl<'a> Debug for RepeatSpacer<'a>
source§impl<'a> PartialEq<RepeatSpacer<'a>> for RepeatSpacer<'a>
impl<'a> PartialEq<RepeatSpacer<'a>> for RepeatSpacer<'a>
source§fn eq(&self, other: &RepeatSpacer<'a>) -> bool
fn eq(&self, other: &RepeatSpacer<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.