pub struct App {
pub regex_editor: Editor,
pub test_editor: Editor,
pub focused_panel: u8,
pub engine_kind: EngineKind,
pub flags: EngineFlags,
pub matches: Vec<Match>,
pub explanation: Vec<ExplainNode>,
pub error: Option<String>,
pub show_help: bool,
pub should_quit: bool,
/* private fields */
}Fields§
§regex_editor: Editor§test_editor: Editor§focused_panel: u8§engine_kind: EngineKind§flags: EngineFlags§matches: Vec<Match>§explanation: Vec<ExplainNode>§error: Option<String>§show_help: bool§should_quit: boolImplementations§
Source§impl App
impl App
pub fn new(engine_kind: EngineKind, flags: EngineFlags) -> Self
pub fn set_pattern(&mut self, pattern: &str)
pub fn set_test_string(&mut self, text: &str)
pub fn switch_engine(&mut self)
pub fn recompute(&mut self)
pub fn rematch(&mut self)
Auto Trait Implementations§
impl Freeze for App
impl !RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin for App
impl !UnwindSafe for App
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