Struct query_structure::ast::GeneratorConfig
source · pub struct GeneratorConfig {
pub name: Identifier,
pub properties: Vec<ConfigBlockProperty>,
pub span: Span,
/* private fields */
}
Expand description
A Generator block declaration.
Fields§
§name: Identifier
Name of this generator.
properties: Vec<ConfigBlockProperty>
Top-level configuration properties for this generator.
span: Span
The location of this generator block in the text representation.
Trait Implementations§
source§impl Clone for GeneratorConfig
impl Clone for GeneratorConfig
source§fn clone(&self) -> GeneratorConfig
fn clone(&self) -> GeneratorConfig
Returns a copy 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 GeneratorConfig
impl Debug for GeneratorConfig
source§impl WithDocumentation for GeneratorConfig
impl WithDocumentation for GeneratorConfig
source§fn documentation(&self) -> Option<&str>
fn documentation(&self) -> Option<&str>
The documentation string, if defined.
source§impl WithIdentifier for GeneratorConfig
impl WithIdentifier for GeneratorConfig
source§fn identifier(&self) -> &Identifier
fn identifier(&self) -> &Identifier
The identifier.
Auto Trait Implementations§
impl RefUnwindSafe for GeneratorConfig
impl Send for GeneratorConfig
impl Sync for GeneratorConfig
impl Unpin for GeneratorConfig
impl UnwindSafe for GeneratorConfig
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