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