Struct rustc_pattern_analysis::MatchCtxt
source · pub struct MatchCtxt<'a, Cx: TypeCx> {
pub tycx: &'a Cx,
}Expand description
Context that provides information global to a match.
Fields§
§tycx: &'a CxThe context for type information.
Trait Implementations§
impl<'a, Cx: TypeCx> Copy for MatchCtxt<'a, Cx>
Auto Trait Implementations§
impl<'a, Cx> RefUnwindSafe for MatchCtxt<'a, Cx>where
Cx: RefUnwindSafe,
impl<'a, Cx> Send for MatchCtxt<'a, Cx>where
Cx: Sync,
impl<'a, Cx> Sync for MatchCtxt<'a, Cx>where
Cx: Sync,
impl<'a, Cx> Unpin for MatchCtxt<'a, Cx>
impl<'a, Cx> UnwindSafe for MatchCtxt<'a, Cx>where
Cx: RefUnwindSafe,
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: 8 bytes