pub struct MappedGenericEnvironment { /* private fields */ }Implementations§
Source§impl MappedGenericEnvironment
impl MappedGenericEnvironment
pub fn bind_generic( &mut self, generic_tp: TypePackId, bindee_tp: TypePackId, ) -> bool
Source§impl MappedGenericEnvironment
impl MappedGenericEnvironment
pub fn lookup_generic_pack(&self, generic_tp: TypePackId) -> LookupResult
Source§impl MappedGenericEnvironment
impl MappedGenericEnvironment
pub fn mapped_generic_frame_mapped_generic_frame( &mut self, mappings: DenseHashMap<TypePackId, Option<TypePackId>>, parent_scope_index: Option<usize>, )
Source§impl MappedGenericEnvironment
impl MappedGenericEnvironment
pub fn push_frame(&mut self, generic_tps: &Vec<TypePackId>)
Trait Implementations§
Source§impl Clone for MappedGenericEnvironment
impl Clone for MappedGenericEnvironment
Source§fn clone(&self) -> MappedGenericEnvironment
fn clone(&self) -> MappedGenericEnvironment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for MappedGenericEnvironment
impl !Sync for MappedGenericEnvironment
impl Freeze for MappedGenericEnvironment
impl RefUnwindSafe for MappedGenericEnvironment
impl Unpin for MappedGenericEnvironment
impl UnsafeUnpin for MappedGenericEnvironment
impl UnwindSafe for MappedGenericEnvironment
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