pub struct ProcDef {
pub return_type: Option<ProcReturnType>,
pub name_range: TextRange,
pub params: Vec<ProcParam>,
pub body: Stmt,
pub is_global: bool,
pub range: TextRange,
}Fields§
§return_type: Option<ProcReturnType>§name_range: TextRange§params: Vec<ProcParam>§body: Stmt§is_global: bool§range: TextRangeImplementations§
Trait Implementations§
impl Eq for ProcDef
impl StructuralPartialEq for ProcDef
Auto Trait Implementations§
impl Freeze for ProcDef
impl RefUnwindSafe for ProcDef
impl Send for ProcDef
impl Sync for ProcDef
impl Unpin for ProcDef
impl UnsafeUnpin for ProcDef
impl UnwindSafe for ProcDef
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