pub enum ProceduralDeclaration {
Variable {
token: Token,
name: Identifier,
constant: bool,
data_type: ProceduralType,
nullable: bool,
initializer: Option<Expression>,
span: SourceRange,
},
Collection {
token: Token,
name: Identifier,
element_type: ProceduralType,
capacity: u32,
span: SourceRange,
},
Cursor {
token: Token,
name: Identifier,
arguments: Vec<RoutineArgumentSyntax>,
query: Box<Statement>,
span: SourceRange,
},
}Variants§
Variable
Collection
Cursor
Trait Implementations§
Source§impl Clone for ProceduralDeclaration
impl Clone for ProceduralDeclaration
Source§fn clone(&self) -> ProceduralDeclaration
fn clone(&self) -> ProceduralDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProceduralDeclaration
impl Debug for ProceduralDeclaration
Source§impl Display for ProceduralDeclaration
impl Display for ProceduralDeclaration
Source§impl PartialEq for ProceduralDeclaration
impl PartialEq for ProceduralDeclaration
impl StructuralPartialEq for ProceduralDeclaration
Auto Trait Implementations§
impl Freeze for ProceduralDeclaration
impl RefUnwindSafe for ProceduralDeclaration
impl Send for ProceduralDeclaration
impl Sync for ProceduralDeclaration
impl Unpin for ProceduralDeclaration
impl UnsafeUnpin for ProceduralDeclaration
impl UnwindSafe for ProceduralDeclaration
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