Struct rustc_pattern_analysis::pat::PatId
source · pub(crate) struct PatId(u32);Expand description
A globally unique id to distinguish patterns.
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
source§impl PartialEq for PatId
impl PartialEq for PatId
impl Copy for PatId
impl Eq for PatId
impl StructuralPartialEq for PatId
Auto Trait Implementations§
impl RefUnwindSafe for PatId
impl Send for PatId
impl Sync for PatId
impl Unpin for PatId
impl UnwindSafe for PatId
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: 4 bytes