Struct brush_parser::ast::FunctionBody  
source · pub struct FunctionBody(pub CompoundCommand, pub Option<RedirectList>);Expand description
Encapsulates the body of a function definition.
Tuple Fields§
§0: CompoundCommand§1: Option<RedirectList>Trait Implementations§
source§impl Clone for FunctionBody
 
impl Clone for FunctionBody
source§fn clone(&self) -> FunctionBody
 
fn clone(&self) -> FunctionBody
Returns a copy 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 moresource§impl Debug for FunctionBody
 
impl Debug for FunctionBody
Auto Trait Implementations§
impl Freeze for FunctionBody
impl RefUnwindSafe for FunctionBody
impl Send for FunctionBody
impl Sync for FunctionBody
impl Unpin for FunctionBody
impl UnwindSafe for FunctionBody
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