Enum flowistry_pdg::rustc::mir::Safety
source · pub enum Safety {
Safe,
BuiltinUnsafe,
FnUnsafe,
ExplicitUnsafe(HirId),
}
Variants§
Safe
BuiltinUnsafe
Unsafe because of compiler-generated unsafe code, like await
desugaring
FnUnsafe
Unsafe because of an unsafe fn
ExplicitUnsafe(HirId)
Unsafe because of an unsafe
block
Auto Trait Implementations§
impl RefUnwindSafe for Safety
impl Send for Safety
impl Sync for Safety
impl Unpin for Safety
impl UnwindSafe for Safety
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