pub struct GrammarTarget {
pub codec: Symbol,
pub dialect: GrammarDialect,
pub position: GrammarPosition,
}Expand description
Target metadata for one rendered grammar.
Fields§
§codec: SymbolThe codec symbol this grammar targets.
dialect: GrammarDialectThe concrete grammar dialect.
position: GrammarPositionThe output position interpreted by the codec renderer.
Trait Implementations§
Source§impl Clone for GrammarTarget
impl Clone for GrammarTarget
Source§fn clone(&self) -> GrammarTarget
fn clone(&self) -> GrammarTarget
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 moreSource§impl Debug for GrammarTarget
impl Debug for GrammarTarget
impl Eq for GrammarTarget
Source§impl PartialEq for GrammarTarget
impl PartialEq for GrammarTarget
impl StructuralPartialEq for GrammarTarget
Auto Trait Implementations§
impl Freeze for GrammarTarget
impl RefUnwindSafe for GrammarTarget
impl Send for GrammarTarget
impl Sync for GrammarTarget
impl Unpin for GrammarTarget
impl UnsafeUnpin for GrammarTarget
impl UnwindSafe for GrammarTarget
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