pub struct Mono<'tcx> {
    pub value: Vec<GenericArg<'tcx>>,
}Fields§
§value: Vec<GenericArg<'tcx>>Implementations§
Source§impl<'tcx> Mono<'tcx>
 
impl<'tcx> Mono<'tcx>
pub fn new(identity: &[GenericArg<'tcx>]) -> Self
fn has_infer_types(&self) -> bool
fn mut_arg_at(&mut self, idx: usize) -> &mut GenericArg<'tcx>
fn merge(&self, other: &Mono<'tcx>, tcx: TyCtxt<'tcx>) -> Option<Mono<'tcx>>
fn fill_unbound_var(&self, tcx: TyCtxt<'tcx>) -> Vec<Mono<'tcx>>
Trait Implementations§
Source§impl<'tcx> FromIterator<GenericArg<'tcx>> for Mono<'tcx>
 
impl<'tcx> FromIterator<GenericArg<'tcx>> for Mono<'tcx>
Source§fn from_iter<T>(iter: T) -> Selfwhere
    T: IntoIterator<Item = GenericArg<'tcx>>,
 
fn from_iter<T>(iter: T) -> Selfwhere
    T: IntoIterator<Item = GenericArg<'tcx>>,
Creates a value from an iterator. Read more
impl<'tcx> Eq for Mono<'tcx>
impl<'tcx> StructuralPartialEq for Mono<'tcx>
Auto Trait Implementations§
impl<'tcx> Freeze for Mono<'tcx>
impl<'tcx> !RefUnwindSafe for Mono<'tcx>
impl<'tcx> Send for Mono<'tcx>
impl<'tcx> Sync for Mono<'tcx>
impl<'tcx> Unpin for Mono<'tcx>
impl<'tcx> !UnwindSafe for Mono<'tcx>
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,
§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.