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