pub struct Generation { /* private fields */ }Expand description
Inventory returned by a completed generation.
Implementations§
Source§impl Generation
impl Generation
Sourcepub fn inputs(&self) -> &[PathBuf]
pub fn inputs(&self) -> &[PathBuf]
Canonical paths of every grammar, token vocabulary, and semantic-pattern file read.
Sourcepub fn warnings(&self) -> &[String]
pub fn warnings(&self) -> &[String]
Non-fatal compiler and generator messages in CLI display form.
Sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Structured non-fatal grammar compiler diagnostics.
Sourcepub fn emit_rerun_if_changed(&self)
pub fn emit_rerun_if_changed(&self)
Emits Cargo rebuild directives for the complete resolved input graph.
Trait Implementations§
Source§impl Clone for Generation
impl Clone for Generation
Source§fn clone(&self) -> Generation
fn clone(&self) -> Generation
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 Generation
impl Debug for Generation
impl Eq for Generation
Source§impl PartialEq for Generation
impl PartialEq for Generation
impl StructuralPartialEq for Generation
Auto Trait Implementations§
impl Freeze for Generation
impl RefUnwindSafe for Generation
impl Send for Generation
impl Sync for Generation
impl Unpin for Generation
impl UnsafeUnpin for Generation
impl UnwindSafe for Generation
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.