Enum flowistry_pdg::rustc::mir::UnsafetyViolationDetails
source · pub enum UnsafetyViolationDetails {
CallToUnsafeFunction,
UseOfInlineAssembly,
InitializingTypeWith,
CastOfPointerToInt,
UseOfMutableStatic,
UseOfExternStatic,
DerefOfRawPointer,
AccessToUnionField,
MutationOfLayoutConstrainedField,
BorrowOfLayoutConstrainedField,
CallToFunctionWith,
}
Variants§
CallToUnsafeFunction
UseOfInlineAssembly
InitializingTypeWith
CastOfPointerToInt
UseOfMutableStatic
UseOfExternStatic
DerefOfRawPointer
AccessToUnionField
MutationOfLayoutConstrainedField
BorrowOfLayoutConstrainedField
CallToFunctionWith
Auto Trait Implementations§
impl RefUnwindSafe for UnsafetyViolationDetails
impl Send for UnsafetyViolationDetails
impl Sync for UnsafetyViolationDetails
impl Unpin for UnsafetyViolationDetails
impl UnwindSafe for UnsafetyViolationDetails
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