Struct Function
pub struct Function { /* private fields */ }Expand description
This structure represents a function type (DW_TAG_subroutine_type)
Implementations§
§impl Function
impl Function
pub fn set_return_type(&mut self, ty: &dyn EditorType) -> &mut Self
pub fn set_return_type(&mut self, ty: &dyn EditorType) -> &mut Self
Set the return type of this function
pub fn add_parameter(&mut self, ty: &dyn EditorType) -> Parameter
pub fn add_parameter(&mut self, ty: &dyn EditorType) -> Parameter
Add a parameter
Trait Implementations§
§impl EditorType for Function
impl EditorType for Function
fn pointer_to(&self) -> Pointer
Auto Trait Implementations§
impl Freeze for Function
impl !RefUnwindSafe for Function
impl !Send for Function
impl !Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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