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 for RepeatSpacer<'a>
impl<'a> PartialEq for RepeatSpacer<'a>
impl<'a> StructuralPartialEq for RepeatSpacer<'a>
Auto Trait Implementations§
impl<'a> Freeze for RepeatSpacer<'a>
impl<'a> RefUnwindSafe for RepeatSpacer<'a>
impl<'a> Send for RepeatSpacer<'a>
impl<'a> Sync for RepeatSpacer<'a>
impl<'a> Unpin for RepeatSpacer<'a>
impl<'a> UnwindSafe for RepeatSpacer<'a>
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