pub struct Function {
pub attributes: Attributes,
pub loc: Loc,
pub visibility: Visibility,
pub entry: Option<Loc>,
pub signature: FunctionSignature,
pub acquires: Vec<ModuleAccess>,
pub body: FunctionBody,
pub specs: BTreeMap<SpecId, SpecBlock>,
}
Fields
attributes: Attributes
loc: Loc
visibility: Visibility
entry: Option<Loc>
signature: FunctionSignature
acquires: Vec<ModuleAccess>
body: FunctionBody
specs: BTreeMap<SpecId, SpecBlock>
Trait Implementations
sourceimpl PartialEq<Function> for Function
impl PartialEq<Function> for Function
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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