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