pub enum ResolvedType<'a> {
Defined(&'a TypeDef),
UnboundParam,
BoundParam {
value: &'a Type,
binding_cx: &'a TypeParamBindings<'a>,
},
}Variants§
Defined(&'a TypeDef)
Defined type
UnboundParam
Unbound type parameter
BoundParam
Bound type parameter
Auto Trait Implementations§
impl<'a> Freeze for ResolvedType<'a>
impl<'a> RefUnwindSafe for ResolvedType<'a>
impl<'a> Send for ResolvedType<'a>
impl<'a> Sync for ResolvedType<'a>
impl<'a> Unpin for ResolvedType<'a>
impl<'a> UnsafeUnpin for ResolvedType<'a>
impl<'a> UnwindSafe for ResolvedType<'a>
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