pub struct Settings {
pub is_optional: bool,
pub is_optional_ungreedy: bool,
pub is_one_or_more: bool,
pub is_nil_or_more: bool,
pub with_left_boundary: bool,
pub with_left_non_boundary: bool,
pub with_right_boundary: bool,
pub with_right_non_boundary: bool,
pub range: Option<(Option<u8>, Option<u8>)>,
pub exactly: Option<u8>,
pub flags: Option<Flags>,
}
Expand description
A set of meta indicating what special characters (quantifiers), boundaries and flags should be added to an expression.
Fields§
§is_optional: bool
§is_optional_ungreedy: bool
§is_one_or_more: bool
§is_nil_or_more: bool
§with_left_boundary: bool
§with_left_non_boundary: bool
§with_right_boundary: bool
§with_right_non_boundary: bool
§range: Option<(Option<u8>, Option<u8>)>
§exactly: Option<u8>
§flags: Option<Flags>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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