pub struct FuncProto { /* private fields */ }Expand description
Represents a FuncProto type.
Implementations§
Source§impl FuncProto
impl FuncProto
Sourcepub fn new(
reader: &mut Reader<'_>,
file_header: &FileHeader,
type_header: Header,
) -> BTFResult<Self>
pub fn new( reader: &mut Reader<'_>, file_header: &FileHeader, type_header: Header, ) -> BTFResult<Self>
Creates a new $name object
Sourcepub fn return_tid(&self) -> &u32
pub fn return_tid(&self) -> &u32
Returns the $data_name field of the type
Sourcepub fn parameter_list(&self) -> &Vec<Parameter>
pub fn parameter_list(&self) -> &Vec<Parameter>
Returns the $data_name field of the type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuncProto
impl RefUnwindSafe for FuncProto
impl Send for FuncProto
impl Sync for FuncProto
impl Unpin for FuncProto
impl UnwindSafe for FuncProto
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