pub struct LispGrammarRenderer { /* private fields */ }Expand description
Renders neutral Shape grammars for codec:lisp.
Implementations§
Trait Implementations§
Source§impl Clone for LispGrammarRenderer
impl Clone for LispGrammarRenderer
Source§fn clone(&self) -> LispGrammarRenderer
fn clone(&self) -> LispGrammarRenderer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LispGrammarRenderer
Source§impl Debug for LispGrammarRenderer
impl Debug for LispGrammarRenderer
impl Eq for LispGrammarRenderer
Source§impl GrammarRenderer for LispGrammarRenderer
impl GrammarRenderer for LispGrammarRenderer
Source§fn codec_symbol(&self) -> Symbol
fn codec_symbol(&self) -> Symbol
Codec symbol this renderer targets.
Source§fn dialect(&self) -> GrammarDialect
fn dialect(&self) -> GrammarDialect
Concrete grammar dialect this renderer emits.
Source§fn render(
&self,
graph: &GrammarGraph,
position: GrammarPosition,
) -> Result<String>
fn render( &self, graph: &GrammarGraph, position: GrammarPosition, ) -> Result<String>
Renders
graph for this codec at position.Source§impl PartialEq for LispGrammarRenderer
impl PartialEq for LispGrammarRenderer
impl StructuralPartialEq for LispGrammarRenderer
Auto Trait Implementations§
impl Freeze for LispGrammarRenderer
impl RefUnwindSafe for LispGrammarRenderer
impl Send for LispGrammarRenderer
impl Sync for LispGrammarRenderer
impl Unpin for LispGrammarRenderer
impl UnsafeUnpin for LispGrammarRenderer
impl UnwindSafe for LispGrammarRenderer
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