pub enum GenericArgView {
Type(TyId),
Const(ConstArg),
Lifetime(u32),
}Expand description
Decoded generic argument from ty_args.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GenericArgView
impl Clone for GenericArgView
impl Copy for GenericArgView
Source§impl Debug for GenericArgView
impl Debug for GenericArgView
impl Eq for GenericArgView
Source§impl PartialEq for GenericArgView
impl PartialEq for GenericArgView
impl StructuralPartialEq for GenericArgView
Auto Trait Implementations§
impl Forget for GenericArgView
impl Freeze for GenericArgView
impl Move for GenericArgView
impl RefUnwindSafe for GenericArgView
impl Send for GenericArgView
impl Sync for GenericArgView
impl Unpin for GenericArgView
impl UnsafeUnpin for GenericArgView
impl UnwindSafe for GenericArgView
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