pub struct GrexOverlayState {
pub editor: Editor,
pub options: GrexOptions,
pub generated_pattern: Option<String>,
pub generation_counter: u64,
pub debounce_deadline: Option<Instant>,
}Fields§
§editor: Editor§options: GrexOptions§generated_pattern: Option<String>§generation_counter: u64§debounce_deadline: Option<Instant>Trait Implementations§
Source§impl Default for GrexOverlayState
impl Default for GrexOverlayState
Source§fn default() -> GrexOverlayState
fn default() -> GrexOverlayState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GrexOverlayState
impl RefUnwindSafe for GrexOverlayState
impl Send for GrexOverlayState
impl Sync for GrexOverlayState
impl Unpin for GrexOverlayState
impl UnsafeUnpin for GrexOverlayState
impl UnwindSafe for GrexOverlayState
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