Struct flowistry_pdg::rustc::mir::terminator::ConstQualifs
source · pub struct ConstQualifs {
pub has_mut_interior: bool,
pub needs_drop: bool,
pub needs_non_const_drop: bool,
pub custom_eq: bool,
pub tainted_by_errors: Option<ErrorGuaranteed>,
}
Expand description
The result of the mir_const_qualif
query.
Each field (except error_occurred
) corresponds to an implementer of the Qualif
trait in
rustc_const_eval/src/transform/check_consts/qualifs.rs
. See that file for more information on each
Qualif
.
Fields§
§has_mut_interior: bool
§needs_drop: bool
§needs_non_const_drop: bool
§custom_eq: bool
§tainted_by_errors: Option<ErrorGuaranteed>
Auto Trait Implementations§
impl RefUnwindSafe for ConstQualifs
impl Send for ConstQualifs
impl Sync for ConstQualifs
impl Unpin for ConstQualifs
impl UnwindSafe for ConstQualifs
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