pub struct ModuleAnalysisManager { /* private fields */ }Implementations§
Source§impl ModuleAnalysisManager
impl ModuleAnalysisManager
Sourcepub unsafe fn from_raw(
inner: *mut c_void,
from_analysis_id: Option<AnalysisKey>,
) -> Self
pub unsafe fn from_raw( inner: *mut c_void, from_analysis_id: Option<AnalysisKey>, ) -> Self
§Safety
inner must be a valid pointer to LLVM’s ModuleAnalysisManager.
pub fn as_raw(&self) -> *mut c_void
pub fn from_analysis_id(&self) -> Option<AnalysisKey>
Auto Trait Implementations§
impl Freeze for ModuleAnalysisManager
impl RefUnwindSafe for ModuleAnalysisManager
impl !Send for ModuleAnalysisManager
impl !Sync for ModuleAnalysisManager
impl Unpin for ModuleAnalysisManager
impl UnsafeUnpin for ModuleAnalysisManager
impl UnwindSafe for ModuleAnalysisManager
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more