pub struct StructDatum<I: Interner> {
pub binders: Binders<StructDatumBound<I>>,
pub id: StructId<I>,
pub flags: StructFlags,
}
Fields§
§binders: Binders<StructDatumBound<I>>
§id: StructId<I>
§flags: StructFlags
Implementations§
Trait Implementations§
Source§impl<I: Clone + Interner> Clone for StructDatum<I>
impl<I: Clone + Interner> Clone for StructDatum<I>
Source§fn clone(&self) -> StructDatum<I>
fn clone(&self) -> StructDatum<I>
Returns a duplicate 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 moreimpl<I: Eq + Interner> Eq for StructDatum<I>
impl<I: Interner> StructuralPartialEq for StructDatum<I>
Auto Trait Implementations§
impl<I> Freeze for StructDatum<I>
impl<I> RefUnwindSafe for StructDatum<I>where
<I as Interner>::DefId: RefUnwindSafe,
<I as Interner>::InternedParameterKinds: RefUnwindSafe,
<I as Interner>::InternedType: RefUnwindSafe,
<I as Interner>::InternedSubstitution: RefUnwindSafe,
impl<I> Send for StructDatum<I>where
<I as Interner>::DefId: Send,
<I as Interner>::InternedParameterKinds: Send,
<I as Interner>::InternedType: Send,
<I as Interner>::InternedSubstitution: Send,
impl<I> Sync for StructDatum<I>where
<I as Interner>::DefId: Sync,
<I as Interner>::InternedParameterKinds: Sync,
<I as Interner>::InternedType: Sync,
<I as Interner>::InternedSubstitution: Sync,
impl<I> Unpin for StructDatum<I>where
<I as Interner>::DefId: Unpin,
<I as Interner>::InternedParameterKinds: Unpin,
<I as Interner>::InternedType: Unpin,
<I as Interner>::InternedSubstitution: Unpin,
impl<I> UnwindSafe for StructDatum<I>where
<I as Interner>::DefId: UnwindSafe,
<I as Interner>::InternedParameterKinds: UnwindSafe,
<I as Interner>::InternedType: UnwindSafe,
<I as Interner>::InternedSubstitution: UnwindSafe,
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