pub struct RapCallback {Show 13 fields
pub(crate) rcanary: bool,
pub(crate) safedrop: bool,
pub(crate) verify: bool,
pub(crate) infer: bool,
pub(crate) unsafety_isolation: usize,
pub(crate) mop: bool,
pub(crate) callgraph: bool,
pub(crate) api_dep: bool,
pub(crate) show_mir: bool,
pub(crate) dataflow: usize,
pub(crate) opt: bool,
pub(crate) heap_item: bool,
pub(crate) ssa: bool,
}
Fields§
§rcanary: bool
§safedrop: bool
§verify: bool
§infer: bool
§unsafety_isolation: usize
§mop: bool
§callgraph: bool
§api_dep: bool
§show_mir: bool
§dataflow: usize
§opt: bool
§heap_item: bool
§ssa: bool
Implementations§
source§impl RapCallback
impl RapCallback
pub fn enable_rcanary(&mut self)
pub fn is_rcanary_enabled(&self) -> bool
pub fn enable_mop(&mut self)
pub fn is_mop_enabled(&self) -> bool
pub fn enable_safedrop(&mut self)
pub fn is_safedrop_enabled(&self) -> bool
pub fn enable_unsafety_isolation(&mut self, x: usize)
pub fn is_unsafety_isolation_enabled(&self) -> usize
pub fn enable_api_dep(&mut self)
pub fn is_api_dep_enabled(self) -> bool
pub fn enable_verify(&mut self)
pub fn is_verify_enabled(&self) -> bool
pub fn enable_infer(&mut self)
pub fn is_infer_enabled(&self) -> bool
pub fn enable_callgraph(&mut self)
pub fn is_callgraph_enabled(&self) -> bool
pub fn enable_show_mir(&mut self)
pub fn is_show_mir_enabled(&self) -> bool
pub fn enable_dataflow(&mut self, x: usize)
pub fn is_dataflow_enabled(self) -> usize
pub fn enable_opt(&mut self)
pub fn is_opt_enabled(self) -> bool
pub fn enable_heap_item(&mut self)
pub fn is_heap_item_enabled(self) -> bool
pub fn enable_ssa_transform(&mut self)
pub fn is_ssa_transform_enabled(self) -> bool
Trait Implementations§
source§impl Callbacks for RapCallback
impl Callbacks for RapCallback
source§fn after_analysis<'tcx>(
&mut self,
_compiler: &Compiler,
queries: &'tcx Queries<'tcx>,
) -> Compilation
fn after_analysis<'tcx>( &mut self, _compiler: &Compiler, queries: &'tcx Queries<'tcx>, ) -> Compilation
Called after analysis. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to
Compilation::Continue
)source§fn after_crate_root_parsing<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>,
) -> Compilation
fn after_crate_root_parsing<'tcx>( &mut self, _compiler: &Compiler, _queries: &'tcx Queries<'tcx>, ) -> Compilation
Called after parsing the crate root. Submodules are not yet parsed when
this callback is called. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to
Compilation::Continue
)source§fn after_expansion<'tcx>(
&mut self,
_compiler: &Compiler,
_queries: &'tcx Queries<'tcx>,
) -> Compilation
fn after_expansion<'tcx>( &mut self, _compiler: &Compiler, _queries: &'tcx Queries<'tcx>, ) -> Compilation
Called after expansion. Return value instructs the compiler whether to
continue the compilation afterwards (defaults to
Compilation::Continue
)source§impl Clone for RapCallback
impl Clone for RapCallback
source§fn clone(&self) -> RapCallback
fn clone(&self) -> RapCallback
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RapCallback
impl Debug for RapCallback
source§impl Default for RapCallback
impl Default for RapCallback
source§impl Hash for RapCallback
impl Hash for RapCallback
impl Copy for RapCallback
Auto Trait Implementations§
impl Freeze for RapCallback
impl RefUnwindSafe for RapCallback
impl Send for RapCallback
impl Sync for RapCallback
impl Unpin for RapCallback
impl UnwindSafe for RapCallback
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)