Struct regex_syntax::ast::ClassSetRange
source · [−]Expand description
A single character class range in a set.
Fields
span: Span
The span of this range.
start: Literal
The start of this range.
end: Literal
The end of this range.
Implementations
sourceimpl ClassSetRange
impl ClassSetRange
Trait Implementations
sourceimpl Clone for ClassSetRange
impl Clone for ClassSetRange
sourcefn clone(&self) -> ClassSetRange
fn clone(&self) -> ClassSetRange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClassSetRange
impl Debug for ClassSetRange
sourceimpl PartialEq<ClassSetRange> for ClassSetRange
impl PartialEq<ClassSetRange> for ClassSetRange
sourcefn eq(&self, other: &ClassSetRange) -> bool
fn eq(&self, other: &ClassSetRange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClassSetRange) -> bool
fn ne(&self, other: &ClassSetRange) -> bool
This method tests for !=
.
impl Eq for ClassSetRange
impl StructuralEq for ClassSetRange
impl StructuralPartialEq for ClassSetRange
Auto Trait Implementations
impl RefUnwindSafe for ClassSetRange
impl Send for ClassSetRange
impl Sync for ClassSetRange
impl Unpin for ClassSetRange
impl UnwindSafe for ClassSetRange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more