pub struct OverlappingRanges<'p, Cx: TypeCx> {
pub pat: &'p DeconstructedPat<'p, Cx>,
pub overlaps_on: IntRange,
pub overlaps_with: Vec<&'p DeconstructedPat<'p, Cx>>,
}Expand description
Indicates that the range pat overlapped with all the ranges in overlaps_with, where the
range they overlapped over is overlaps_on. We only detect singleton overlaps.
Fields§
§pat: &'p DeconstructedPat<'p, Cx>§overlaps_on: IntRange§overlaps_with: Vec<&'p DeconstructedPat<'p, Cx>>Trait Implementations§
Auto Trait Implementations§
impl<'p, Cx> !RefUnwindSafe for OverlappingRanges<'p, Cx>
impl<'p, Cx> !Send for OverlappingRanges<'p, Cx>
impl<'p, Cx> !Sync for OverlappingRanges<'p, Cx>
impl<'p, Cx> Unpin for OverlappingRanges<'p, Cx>
impl<'p, Cx> !UnwindSafe for OverlappingRanges<'p, Cx>
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
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: 80 bytes