pub struct FunctionSignature {
pub signature: TypeId,
pub signature_scope: ScopePtr,
pub body_scope: ScopePtr,
}Fields§
§signature: TypeIdThe type of the function.
signature_scope: ScopePtrThe scope that encompasses the function’s signature. May be nullptr if there was no need for a signature scope (the function has no generics).
body_scope: ScopePtrThe scope that encompasses the function’s body. Is a child scope of signatureScope, if present.
Trait Implementations§
Source§impl Clone for FunctionSignature
impl Clone for FunctionSignature
Source§fn clone(&self) -> FunctionSignature
fn clone(&self) -> FunctionSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for FunctionSignature
impl !Sync for FunctionSignature
impl Freeze for FunctionSignature
impl RefUnwindSafe for FunctionSignature
impl Unpin for FunctionSignature
impl UnsafeUnpin for FunctionSignature
impl UnwindSafe for FunctionSignature
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