pub struct FuncBody<'a> {
pub open_brace: Slice<'a>,
pub stmts: Vec<ProgramPart<'a>>,
pub close_brace: Slice<'a>,
}
Expand description
The block statement that makes up the function’s body
Fields
open_brace: Slice<'a>
stmts: Vec<ProgramPart<'a>>
close_brace: Slice<'a>
Trait Implementations
sourceimpl<'a> PartialEq<FuncBody<'a>> for FuncBody<'a>
impl<'a> PartialEq<FuncBody<'a>> for FuncBody<'a>
impl<'a> StructuralPartialEq for FuncBody<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FuncBody<'a>
impl<'a> Send for FuncBody<'a>
impl<'a> Sync for FuncBody<'a>
impl<'a> Unpin for FuncBody<'a>
impl<'a> UnwindSafe for FuncBody<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more