Enum rsonpath::classification::structural::BracketType
source · #[repr(u8)]pub enum BracketType {
Square,
Curly,
}
Expand description
Defines the kinds of brackets that can be identified as structural.
Variants§
Trait Implementations§
source§impl Clone for BracketType
impl Clone for BracketType
source§fn clone(&self) -> BracketType
fn clone(&self) -> BracketType
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 BracketType
impl Debug for BracketType
source§impl Hash for BracketType
impl Hash for BracketType
source§impl PartialEq<BracketType> for BracketType
impl PartialEq<BracketType> for BracketType
source§fn eq(&self, other: &BracketType) -> bool
fn eq(&self, other: &BracketType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BracketType
impl Eq for BracketType
impl StructuralEq for BracketType
impl StructuralPartialEq for BracketType
Auto Trait Implementations§
impl RefUnwindSafe for BracketType
impl Send for BracketType
impl Sync for BracketType
impl Unpin for BracketType
impl UnwindSafe for BracketType
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