Struct regex_syntax::ast::ClassBracketed
source · [−]Expand description
A bracketed character class, e.g., [a-z0-9]
.
Fields
span: Span
The span of this class.
negated: bool
Whether this class is negated or not. e.g., [a]
is not negated but
[^a]
is.
kind: ClassSet
The type of this set. A set is either a normal union of things, e.g.,
[abc]
or a result of applying set operations, e.g., [\pL--c]
.
Trait Implementations
sourceimpl Clone for ClassBracketed
impl Clone for ClassBracketed
sourcefn clone(&self) -> ClassBracketed
fn clone(&self) -> ClassBracketed
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClassBracketed
impl Debug for ClassBracketed
sourceimpl PartialEq<ClassBracketed> for ClassBracketed
impl PartialEq<ClassBracketed> for ClassBracketed
sourcefn eq(&self, other: &ClassBracketed) -> bool
fn eq(&self, other: &ClassBracketed) -> bool
impl Eq for ClassBracketed
impl StructuralEq for ClassBracketed
impl StructuralPartialEq for ClassBracketed
Auto Trait Implementations
impl RefUnwindSafe for ClassBracketed
impl Send for ClassBracketed
impl Sync for ClassBracketed
impl Unpin for ClassBracketed
impl UnwindSafe for ClassBracketed
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more