pub struct SchemaBlock<'a> {
pub span_range: Range<usize>,
pub input: &'a str,
pub blocks: Vec<TopLevelBlock>,
}Expand description
Represents the entire structure of a parsed DBML file.
Fields§
§span_range: Range<usize>The span range of the entire parsed DBML structure in the source text.
input: &'a strThe input source content.
blocks: Vec<TopLevelBlock>A vector of top-level blocks comprising the parsed DBML structure.
Implementations§
Source§impl<'a> SchemaBlock<'a>
impl<'a> SchemaBlock<'a>
Trait Implementations§
Source§impl<'a> Clone for SchemaBlock<'a>
impl<'a> Clone for SchemaBlock<'a>
Source§impl<'a> Debug for SchemaBlock<'a>
impl<'a> Debug for SchemaBlock<'a>
Auto Trait Implementations§
impl<'a> Freeze for SchemaBlock<'a>
impl<'a> RefUnwindSafe for SchemaBlock<'a>
impl<'a> Send for SchemaBlock<'a>
impl<'a> Sync for SchemaBlock<'a>
impl<'a> Unpin for SchemaBlock<'a>
impl<'a> UnsafeUnpin for SchemaBlock<'a>
impl<'a> UnwindSafe for SchemaBlock<'a>
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