pub struct SimplifiedPattern {
pub kind: SimplifiedPatternKind,
pub ty: TypeId,
}
Fields§
§kind: SimplifiedPatternKind
§ty: TypeId
Implementations§
Trait Implementations§
Source§impl Clone for SimplifiedPattern
impl Clone for SimplifiedPattern
Source§fn clone(&self) -> SimplifiedPattern
fn clone(&self) -> SimplifiedPattern
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SimplifiedPattern
impl Debug for SimplifiedPattern
Source§impl DisplayWithDb for SimplifiedPattern
impl DisplayWithDb for SimplifiedPattern
Source§impl PartialEq for SimplifiedPattern
impl PartialEq for SimplifiedPattern
impl Eq for SimplifiedPattern
impl StructuralPartialEq for SimplifiedPattern
Auto Trait Implementations§
impl Freeze for SimplifiedPattern
impl RefUnwindSafe for SimplifiedPattern
impl Send for SimplifiedPattern
impl Sync for SimplifiedPattern
impl Unpin for SimplifiedPattern
impl UnwindSafe for SimplifiedPattern
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Displayable for Twhere
T: DisplayWithDb,
impl<T> Displayable for Twhere
T: DisplayWithDb,
fn display<'a, 'b>( &'a self, db: &'b dyn AnalyzerDb, ) -> DisplayableWrapper<'b, &'a Self>
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.