pub enum BracketType {
None,
Open(char),
Close(char),
}
Expand description
Bracket type of a character.
Variants§
None
Not a bracket.
Open(char)
An opening bracket with the associated closing bracket.
Close(char)
A closing bracket with the associated opening bracket.
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 PartialEq for BracketType
impl PartialEq for BracketType
impl Copy for BracketType
impl Eq for BracketType
impl StructuralPartialEq for BracketType
Auto Trait Implementations§
impl Freeze for BracketType
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
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
)