Struct rustpython_ast::TypeParamParamSpec
source · pub struct TypeParamParamSpec<R = TextRange> {
pub range: R,
pub name: Identifier,
}
Expand description
See also ParamSpec
Fields§
§range: R
§name: Identifier
Trait Implementations§
source§impl<R: Clone> Clone for TypeParamParamSpec<R>
impl<R: Clone> Clone for TypeParamParamSpec<R>
source§fn clone(&self) -> TypeParamParamSpec<R>
fn clone(&self) -> TypeParamParamSpec<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: Debug> Debug for TypeParamParamSpec<R>
impl<R: Debug> Debug for TypeParamParamSpec<R>
source§impl<T, U> Foldable<T, U> for TypeParamParamSpec<T>
impl<T, U> Foldable<T, U> for TypeParamParamSpec<T>
source§impl<R> From<TypeParamParamSpec<R>> for Ast<R>
impl<R> From<TypeParamParamSpec<R>> for Ast<R>
source§fn from(payload: TypeParamParamSpec<R>) -> Self
fn from(payload: TypeParamParamSpec<R>) -> Self
Converts to this type from the input type.
source§impl<R> From<TypeParamParamSpec<R>> for TypeParam<R>
impl<R> From<TypeParamParamSpec<R>> for TypeParam<R>
source§fn from(payload: TypeParamParamSpec<R>) -> Self
fn from(payload: TypeParamParamSpec<R>) -> Self
Converts to this type from the input type.
source§impl<R> Node for TypeParamParamSpec<R>
impl<R> Node for TypeParamParamSpec<R>
source§impl<R: PartialEq> PartialEq for TypeParamParamSpec<R>
impl<R: PartialEq> PartialEq for TypeParamParamSpec<R>
source§fn eq(&self, other: &TypeParamParamSpec<R>) -> bool
fn eq(&self, other: &TypeParamParamSpec<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Ranged for TypeParamParamSpec<TextRange>
impl Ranged for TypeParamParamSpec<TextRange>
impl<R> StructuralPartialEq for TypeParamParamSpec<R>
Auto Trait Implementations§
impl<R> Freeze for TypeParamParamSpec<R>where
R: Freeze,
impl<R> RefUnwindSafe for TypeParamParamSpec<R>where
R: RefUnwindSafe,
impl<R> Send for TypeParamParamSpec<R>where
R: Send,
impl<R> Sync for TypeParamParamSpec<R>where
R: Sync,
impl<R> Unpin for TypeParamParamSpec<R>where
R: Unpin,
impl<R> UnwindSafe for TypeParamParamSpec<R>where
R: 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