pub struct ProjectBlock {
pub span_range: Range<usize>,
pub properties: Vec<Property>,
pub ident: Ident,
pub database_type: Option<DatabaseType>,
pub note: Option<NoteBlock>,
}
Expand description
Represents a project block for grouping various tables.
Fields§
§span_range: Range<usize>
Range of the span in the source text.
properties: Vec<Property>
Properties associated with the project block.
ident: Ident
An identifier of the project block.
database_type: Option<DatabaseType>
The database type associated with the project block.
note: Option<NoteBlock>
The note block associated with the project block.
Trait Implementations§
Source§impl Clone for ProjectBlock
impl Clone for ProjectBlock
Source§fn clone(&self) -> ProjectBlock
fn clone(&self) -> ProjectBlock
Returns a duplicate 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 ProjectBlock
impl Debug for ProjectBlock
Source§impl Default for ProjectBlock
impl Default for ProjectBlock
Source§fn default() -> ProjectBlock
fn default() -> ProjectBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectBlock
impl RefUnwindSafe for ProjectBlock
impl Send for ProjectBlock
impl Sync for ProjectBlock
impl Unpin for ProjectBlock
impl UnwindSafe for ProjectBlock
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