pub struct AnalysisCtrl {
analyze: Vec<String>,
inlining_depth: InliningDepth,
include: Vec<String>,
}
Fields§
§analyze: Vec<String>
Target this function as analysis target. Command line version of
#[paralegal::analyze]
). Must be a full rust path and resolve to a
function. May be specified multiple times and multiple, comma separated
paths may be supplied at the same time.
inlining_depth: InliningDepth
Disables all recursive analysis (both paralegal_flow’s inlining as well as Flowistry’s recursive analysis).
include: Vec<String>
Implementations§
Source§impl AnalysisCtrl
impl AnalysisCtrl
Sourcepub fn selected_targets(&self) -> &[String]
pub fn selected_targets(&self) -> &[String]
Externally (via command line) selected analysis targets
Sourcepub fn use_recursive_analysis(&self) -> bool
pub fn use_recursive_analysis(&self) -> bool
Are we recursing into (unmarked) called functions with the analysis?
pub fn inlining_depth(&self) -> &InliningDepth
pub fn included(&self) -> &[String]
Trait Implementations§
Source§impl Default for AnalysisCtrl
impl Default for AnalysisCtrl
Source§impl<'de> Deserialize<'de> for AnalysisCtrl
impl<'de> Deserialize<'de> for AnalysisCtrl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AnalysisCtrl
impl Serialize for AnalysisCtrl
Source§impl TryFrom<ClapAnalysisCtrl> for AnalysisCtrl
impl TryFrom<ClapAnalysisCtrl> for AnalysisCtrl
Auto Trait Implementations§
impl Freeze for AnalysisCtrl
impl RefUnwindSafe for AnalysisCtrl
impl Send for AnalysisCtrl
impl Sync for AnalysisCtrl
impl Unpin for AnalysisCtrl
impl UnwindSafe for AnalysisCtrl
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