pub struct OpenCloseParser { /* private fields */ }Implementations§
Source§impl OpenCloseParser
impl OpenCloseParser
pub fn new( parser: ParserHandle, open: ParserHandle, close: ParserHandle, ) -> Self
Trait Implementations§
Source§impl Clone for OpenCloseParser
impl Clone for OpenCloseParser
Source§fn clone(&self) -> OpenCloseParser
fn clone(&self) -> OpenCloseParser
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 Parser for OpenCloseParser
impl Parser for OpenCloseParser
fn parse<'a>( &self, registry: &ParserRegistry, input: &'a str, ) -> ParseResult<'a>
fn extend(&self, parser: ParserHandle)
Auto Trait Implementations§
impl Freeze for OpenCloseParser
impl !RefUnwindSafe for OpenCloseParser
impl Send for OpenCloseParser
impl Sync for OpenCloseParser
impl Unpin for OpenCloseParser
impl UnsafeUnpin for OpenCloseParser
impl !UnwindSafe for OpenCloseParser
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