pub struct TypeArg { /* private fields */ }Available on crate feature
parse only.Expand description
A type argument to a parameterized type, e.g. the T in List<T>.
Implementations§
Trait Implementations§
Source§impl From<TypeArg> for ArgumentsItem
impl From<TypeArg> for ArgumentsItem
Source§impl From<TypeArg> for ArgumentsItem
impl From<TypeArg> for ArgumentsItem
impl StructuralPartialEq for TypeArg
Auto Trait Implementations§
impl Forget for TypeArg
impl Freeze for TypeArgwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const IntegerParameter is !null: Freeze,
PhantomData<IntegerParameter>: Freeze,
*const BooleanExpr is !null: Freeze,
PhantomData<BooleanExpr>: Freeze,
PhantomData<TypeParameter>: Freeze,
*const Type is !null: Freeze,
PhantomData<Type>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Type>>: Freeze,
impl Move for TypeArg
impl RefUnwindSafe for TypeArg
impl Send for TypeArgwhere
RawVecInner: Send,
BoxRaw<IntegerParameter>: Send,
BoxRaw<BooleanExpr>: Send,
BoxRaw<Type>: Send,
RawTable<usize>: Send,
impl Sync for TypeArgwhere
RawVecInner: Sync,
BoxRaw<IntegerParameter>: Sync,
BoxRaw<BooleanExpr>: Sync,
BoxRaw<Type>: Sync,
RawTable<usize>: Sync,
impl Unpin for TypeArg
impl UnsafeUnpin for TypeArgwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const IntegerParameter is !null: UnsafeUnpin,
PhantomData<IntegerParameter>: UnsafeUnpin,
*const BooleanExpr is !null: UnsafeUnpin,
PhantomData<BooleanExpr>: UnsafeUnpin,
PhantomData<TypeParameter>: UnsafeUnpin,
*const Type is !null: UnsafeUnpin,
PhantomData<Type>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Type>>: UnsafeUnpin,
impl UnwindSafe for TypeArgwhere
RawVecInner: UnwindSafe,
BoxRaw<IntegerParameter>: UnwindSafe,
BoxRaw<BooleanExpr>: UnwindSafe,
BoxRaw<Type>: UnwindSafe,
NonNull<u8>: UnwindSafe,
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