Struct cairo_lang_syntax::node::ast::GenericParamTypePtr
source · pub struct GenericParamTypePtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl GenericParamTypePtr
impl GenericParamTypePtr
pub fn name_green(self, db: &dyn SyntaxGroup) -> TerminalIdentifierGreen
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> GenericParamType
Trait Implementations§
source§impl Clone for GenericParamTypePtr
impl Clone for GenericParamTypePtr
source§fn clone(&self) -> GenericParamTypePtr
fn clone(&self) -> GenericParamTypePtr
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 Debug for GenericParamTypePtr
impl Debug for GenericParamTypePtr
source§impl From<GenericParamTypePtr> for GenericParamPtr
impl From<GenericParamTypePtr> for GenericParamPtr
source§fn from(value: GenericParamTypePtr) -> Self
fn from(value: GenericParamTypePtr) -> Self
Converts to this type from the input type.
source§impl Hash for GenericParamTypePtr
impl Hash for GenericParamTypePtr
source§impl PartialEq for GenericParamTypePtr
impl PartialEq for GenericParamTypePtr
source§fn eq(&self, other: &GenericParamTypePtr) -> bool
fn eq(&self, other: &GenericParamTypePtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GenericParamTypePtr
impl Eq for GenericParamTypePtr
impl StructuralPartialEq for GenericParamTypePtr
Auto Trait Implementations§
impl Freeze for GenericParamTypePtr
impl RefUnwindSafe for GenericParamTypePtr
impl Send for GenericParamTypePtr
impl Sync for GenericParamTypePtr
impl Unpin for GenericParamTypePtr
impl UnwindSafe for GenericParamTypePtr
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.