pub struct Delimiters {
    bits: u8,
}Expand description
A set of characters, to be used with the Parser::parse_until* methods.
The union of two sets can be obtained with the | operator. Example:
input.parse_until_before(Delimiter::CurlyBracketBlock | Delimiter::Semicolon)Fields§
§bits: u8Implementations§
Source§impl Delimiters
 
impl Delimiters
fn contains(self, other: Delimiters) -> bool
pub(crate) fn from_byte(byte: Option<u8>) -> Delimiters
Trait Implementations§
Source§impl BitOr for Delimiters
 
impl BitOr for Delimiters
Source§type Output = Delimiters
 
type Output = Delimiters
The resulting type after applying the 
| operator.Source§fn bitor(self, other: Delimiters) -> Delimiters
 
fn bitor(self, other: Delimiters) -> Delimiters
Performs the 
| operation. Read moreSource§impl Clone for Delimiters
 
impl Clone for Delimiters
Source§fn clone(&self) -> Delimiters
 
fn clone(&self) -> Delimiters
Returns a duplicate 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 Delimiters
 
impl Debug for Delimiters
Source§impl PartialEq for Delimiters
 
impl PartialEq for Delimiters
impl Copy for Delimiters
impl Eq for Delimiters
impl StructuralPartialEq for Delimiters
Auto Trait Implementations§
impl Freeze for Delimiters
impl RefUnwindSafe for Delimiters
impl Send for Delimiters
impl Sync for Delimiters
impl Unpin for Delimiters
impl UnwindSafe for Delimiters
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