pub struct DeclareStmt {
pub directives: Box<[(Box<str>, Expr)]>,
pub body: Option<Box<Stmt>>,
pub uses_alternative: bool,
}Fields§
§directives: Box<[(Box<str>, Expr)]>§body: Option<Box<Stmt>>§uses_alternative: boolTrait Implementations§
Source§impl Clone for DeclareStmt
impl Clone for DeclareStmt
Source§fn clone(&self) -> DeclareStmt
fn clone(&self) -> DeclareStmt
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 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