pub struct InitDecl {
pub body: Expr,
pub span: Span,
}Expand description
init { expr }
Fields§
§body: Expr§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for InitDecl
impl RefUnwindSafe for InitDecl
impl Send for InitDecl
impl Sync for InitDecl
impl Unpin for InitDecl
impl UnwindSafe for InitDecl
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