pub struct ClassSetBinaryOp {
pub span: Span,
pub kind: ClassSetBinaryOpKind,
pub lhs: Box<ClassSet>,
pub rhs: Box<ClassSet>,
}
Expand description
A Unicode character class set operation.
Fields§
§span: Span
The span of this operation. e.g., the a-z--[h-p]
in [a-z--h-p]
.
kind: ClassSetBinaryOpKind
The type of this set operation.
lhs: Box<ClassSet>
The left hand side of the operation.
rhs: Box<ClassSet>
The right hand side of the operation.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ClassSetBinaryOp
impl<'arbitrary> Arbitrary<'arbitrary> for ClassSetBinaryOp
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 ClassSetBinaryOp
impl Clone for ClassSetBinaryOp
source§fn clone(&self) -> ClassSetBinaryOp
fn clone(&self) -> ClassSetBinaryOp
Returns a copy of the value. Read more
1.6.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 ClassSetBinaryOp
impl Debug for ClassSetBinaryOp
source§impl PartialEq for ClassSetBinaryOp
impl PartialEq for ClassSetBinaryOp
impl Eq for ClassSetBinaryOp
impl StructuralPartialEq for ClassSetBinaryOp
Auto Trait Implementations§
impl Freeze for ClassSetBinaryOp
impl RefUnwindSafe for ClassSetBinaryOp
impl Send for ClassSetBinaryOp
impl Sync for ClassSetBinaryOp
impl Unpin for ClassSetBinaryOp
impl UnwindSafe for ClassSetBinaryOp
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)