pub struct PatternHistory {
pub entries: VecDeque<String>,
pub index: Option<usize>,
pub temp: Option<String>,
}Fields§
§entries: VecDeque<String>§index: Option<usize>§temp: Option<String>Trait Implementations§
Source§impl Default for PatternHistory
impl Default for PatternHistory
Source§fn default() -> PatternHistory
fn default() -> PatternHistory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PatternHistory
impl RefUnwindSafe for PatternHistory
impl Send for PatternHistory
impl Sync for PatternHistory
impl Unpin for PatternHistory
impl UnsafeUnpin for PatternHistory
impl UnwindSafe for PatternHistory
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more