pub struct DeclareStmt {
pub directives: Box<[(Box<str>, Expr)]>,
pub body: Option<Box<Stmt>>,
pub uses_alternative: bool,
}Expand description
A declare(...) statement.
Fields§
§directives: Box<[(Box<str>, Expr)]>Directive name and value pairs.
body: Option<Box<Stmt>>Statement governed by the declare, if any.
uses_alternative: boolWhether the declare: ... enddeclare; syntax is used.
Trait Implementations§
Source§impl Clone for DeclareStmt
impl Clone for DeclareStmt
Source§impl Debug for DeclareStmt
impl Debug for DeclareStmt
Auto Trait Implementations§
impl Freeze for DeclareStmt
impl RefUnwindSafe for DeclareStmt
impl Send for DeclareStmt
impl Sync for DeclareStmt
impl Unpin for DeclareStmt
impl UnsafeUnpin for DeclareStmt
impl UnwindSafe for DeclareStmt
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