pub struct InferencePack {
pub tp: TypePackId,
pub refinements: Vec<RefinementId>,
}Fields§
§tp: TypePackId§refinements: Vec<RefinementId>Implementations§
Source§impl InferencePack
impl InferencePack
pub fn inference_pack() -> Self
pub fn inference_pack_type_pack_id_vector_refinement_id( tp: TypePackId, refinements: Vec<RefinementId>, ) -> Self
Trait Implementations§
Source§impl Clone for InferencePack
impl Clone for InferencePack
Source§fn clone(&self) -> InferencePack
fn clone(&self) -> InferencePack
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 InferencePack
impl !Sync for InferencePack
impl Freeze for InferencePack
impl RefUnwindSafe for InferencePack
impl Unpin for InferencePack
impl UnsafeUnpin for InferencePack
impl UnwindSafe for InferencePack
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