pub struct AstVariableDecl {
pub namespace: Option<Spanned<Identifier>>,
pub name: Identifier,
pub value: AstExpr,
pub is_guarded: bool,
pub is_global: bool,
pub span: Span,
}Fields§
§namespace: Option<Spanned<Identifier>>§name: Identifier§value: AstExpr§is_guarded: bool§is_global: bool§span: SpanTrait Implementations§
Source§impl Clone for AstVariableDecl
impl Clone for AstVariableDecl
Source§fn clone(&self) -> AstVariableDecl
fn clone(&self) -> AstVariableDecl
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 moreAuto Trait Implementations§
impl Freeze for AstVariableDecl
impl RefUnwindSafe for AstVariableDecl
impl Send for AstVariableDecl
impl Sync for AstVariableDecl
impl Unpin for AstVariableDecl
impl UnwindSafe for AstVariableDecl
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