pub struct SafetyFlowUnit {
pub caller: FnInfo,
pub callees: HashSet<FnInfo>,
pub raw_ptrs: HashSet<Local>,
pub static_muts: HashSet<DefId>,
pub caller_cons: HashSet<FnInfo>,
pub mut_methods: HashSet<DefId>,
}Fields§
§caller: FnInfo§callees: HashSet<FnInfo>§raw_ptrs: HashSet<Local>§static_muts: HashSet<DefId>§caller_cons: HashSet<FnInfo>§mut_methods: HashSet<DefId>Implementations§
Trait Implementations§
Source§impl Clone for SafetyFlowUnit
impl Clone for SafetyFlowUnit
Source§fn clone(&self) -> SafetyFlowUnit
fn clone(&self) -> SafetyFlowUnit
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SafetyFlowUnit
impl RefUnwindSafe for SafetyFlowUnit
impl Send for SafetyFlowUnit
impl Sync for SafetyFlowUnit
impl Unpin for SafetyFlowUnit
impl UnwindSafe for SafetyFlowUnit
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§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