pub enum Repeat<'a> {
WithSpacer(RepeatSpacer<'a>),
WithoutSpacer(RepeatOnly<'a>),
}
Expand description
Represents one component of a CRISPR array.
Variants§
WithSpacer(RepeatSpacer<'a>)
A repeat with a spacer
WithoutSpacer(RepeatOnly<'a>)
A repeat without a spacer (the last repeat in the array)
Trait Implementations§
impl<'a> StructuralPartialEq for Repeat<'a>
Auto Trait Implementations§
impl<'a> Freeze for Repeat<'a>
impl<'a> RefUnwindSafe for Repeat<'a>
impl<'a> Send for Repeat<'a>
impl<'a> Sync for Repeat<'a>
impl<'a> Unpin for Repeat<'a>
impl<'a> UnwindSafe for Repeat<'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