Struct minced_parser::RepeatSpacer
source · pub struct RepeatSpacer<'a> {
pub repeat: &'a str,
pub spacer: Option<&'a str>,
pub start: usize,
pub end: usize,
}Expand description
A single repeat and spacer.
Fields§
§repeat: &'a strSequence of the repeat.
spacer: Option<&'a str>Sequence of the spacer. This will be None for the final repeat of the array.
start: usizeZero-indexed inclusive start coordinate.
end: usizeZero-indexed exclusive end coordinate.
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 ==.