pub struct ErrorConstraintInfo {
pub(super) fr: RegionVid,
pub(super) fr_is_local: bool,
pub(super) outlived_fr: RegionVid,
pub(super) outlived_fr_is_local: bool,
pub(super) category: ConstraintCategory,
pub(super) span: Span,
}Expand description
Information about the various region constraints involved in a borrow checker error.
Fields
fr: RegionVidfr_is_local: booloutlived_fr: RegionVidoutlived_fr_is_local: boolcategory: ConstraintCategoryspan: SpanTrait Implementations
sourceimpl Clone for ErrorConstraintInfo
impl Clone for ErrorConstraintInfo
sourcefn clone(&self) -> ErrorConstraintInfo
fn clone(&self) -> ErrorConstraintInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for ErrorConstraintInfo
impl !Send for ErrorConstraintInfo
impl !Sync for ErrorConstraintInfo
impl Unpin for ErrorConstraintInfo
impl UnwindSafe for ErrorConstraintInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes