Struct regex_syntax::ast::ClassBracketed [−][src]
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
impl Clone for ClassBracketed
[src]
fn clone(&self) -> ClassBracketed
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClassBracketed
[src]
impl Eq for ClassBracketed
[src]
impl PartialEq<ClassBracketed> for ClassBracketed
[src]
fn eq(&self, other: &ClassBracketed) -> bool
[src]
fn ne(&self, other: &ClassBracketed) -> bool
[src]
impl StructuralEq for ClassBracketed
[src]
impl StructuralPartialEq for ClassBracketed
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,