pub struct EdgeAnalysis {
pub max_visits: Option<usize>,
}Expand description
分析用约束 — 仅用于 analyze_cycles() 静态分析。
Fields§
§max_visits: Option<usize>建议的最大访问次数
Trait Implementations§
Source§impl Clone for EdgeAnalysis
impl Clone for EdgeAnalysis
Source§fn clone(&self) -> EdgeAnalysis
fn clone(&self) -> EdgeAnalysis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EdgeAnalysis
impl RefUnwindSafe for EdgeAnalysis
impl Send for EdgeAnalysis
impl Sync for EdgeAnalysis
impl Unpin for EdgeAnalysis
impl UnsafeUnpin for EdgeAnalysis
impl UnwindSafe for EdgeAnalysis
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