pub enum TopLevelBlock {
Project(ProjectBlock),
Table(TableBlock),
TableGroup(TableGroupBlock),
Note(NoteBlock),
Ref(RefBlock),
Enum(EnumBlock),
}Expand description
An enum representing various top-level blocks in a parsed DBML file.
Variants§
Project(ProjectBlock)
Represents a project block in the DBML file.
Table(TableBlock)
Represents a table block in the DBML file.
TableGroup(TableGroupBlock)
Represents a table group block in the DBML file.
Note(NoteBlock)
Represents a note block in the DBML file.
Ref(RefBlock)
Represents a reference block in the DBML file.
Enum(EnumBlock)
Represents an enum block in the DBML file.
Trait Implementations§
Source§impl Clone for TopLevelBlock
impl Clone for TopLevelBlock
Auto Trait Implementations§
impl Freeze for TopLevelBlock
impl RefUnwindSafe for TopLevelBlock
impl Send for TopLevelBlock
impl Sync for TopLevelBlock
impl Unpin for TopLevelBlock
impl UnsafeUnpin for TopLevelBlock
impl UnwindSafe for TopLevelBlock
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