pub struct FunctionRef<'data> { /* private fields */ }Expand description
Borrowed view of one indexed FunctionInfo record.
Self::index, Self::range, and Self::name are cheap, so listing
or filtering symbols does not need to decode anything. Self::decode
returns the whole record as an owned Function.
Obtained from Gsym::function,
Gsym::get_function, or
Gsym::functions.
Implementations§
Source§impl<'data> FunctionRef<'data>
impl<'data> FunctionRef<'data>
Trait Implementations§
Auto Trait Implementations§
impl<'data> Freeze for FunctionRef<'data>
impl<'data> RefUnwindSafe for FunctionRef<'data>
impl<'data> Send for FunctionRef<'data>
impl<'data> Sync for FunctionRef<'data>
impl<'data> Unpin for FunctionRef<'data>
impl<'data> UnsafeUnpin for FunctionRef<'data>
impl<'data> UnwindSafe for FunctionRef<'data>
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