Struct regex_syntax::ast::ClassBracketed  
source · pub struct ClassBracketed {
    pub span: Span,
    pub negated: bool,
    pub kind: ClassSet,
}Expand description
A bracketed character class, e.g., [a-z0-9].
Fields§
§span: SpanThe span of this class.
negated: boolWhether this class is negated or not. e.g., [a] is not negated but
[^a] is.
kind: ClassSetThe 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§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ClassBracketed
 
impl<'arbitrary> Arbitrary<'arbitrary> for ClassBracketed
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
 
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of 
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
 
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of 
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for ClassBracketed
 
impl Clone for ClassBracketed
source§fn clone(&self) -> ClassBracketed
 
fn clone(&self) -> ClassBracketed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ClassBracketed
 
impl Debug for ClassBracketed
source§impl PartialEq for ClassBracketed
 
impl PartialEq for ClassBracketed
source§fn eq(&self, other: &ClassBracketed) -> bool
 
fn eq(&self, other: &ClassBracketed) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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§
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