Struct llvm_ir_analysis::FunctionsByType
source · pub struct FunctionsByType<'m> { /* private fields */ }
Expand description
Allows you to iterate over all the functions in the analyzed Module
(s) that
have a specified type.
To construct a FunctionsByType
, use ModuleAnalysis
or CrossModuleAnalysis
.
Implementations§
source§impl<'m> FunctionsByType<'m>
impl<'m> FunctionsByType<'m>
sourcepub fn functions_with_type<'s>(
&'s self,
ty: &TypeRef
) -> impl Iterator<Item = &'m str> + 's
pub fn functions_with_type<'s>( &'s self, ty: &TypeRef ) -> impl Iterator<Item = &'m str> + 's
Iterate over all of the functions in the analyzed Module
(s) that have
the specified type
Auto Trait Implementations§
impl<'m> RefUnwindSafe for FunctionsByType<'m>
impl<'m> Send for FunctionsByType<'m>
impl<'m> Sync for FunctionsByType<'m>
impl<'m> Unpin for FunctionsByType<'m>
impl<'m> UnwindSafe for FunctionsByType<'m>
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