Struct cairo_lang_syntax::node::ast::MatchArmsPtr
source · pub struct MatchArmsPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl MatchArmsPtr
impl MatchArmsPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> MatchArms
Trait Implementations§
source§impl Clone for MatchArmsPtr
impl Clone for MatchArmsPtr
source§fn clone(&self) -> MatchArmsPtr
fn clone(&self) -> MatchArmsPtr
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 MatchArmsPtr
impl Debug for MatchArmsPtr
source§impl Hash for MatchArmsPtr
impl Hash for MatchArmsPtr
source§impl PartialEq for MatchArmsPtr
impl PartialEq for MatchArmsPtr
source§fn eq(&self, other: &MatchArmsPtr) -> bool
fn eq(&self, other: &MatchArmsPtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MatchArmsPtr
impl Eq for MatchArmsPtr
impl StructuralEq for MatchArmsPtr
impl StructuralPartialEq for MatchArmsPtr
Auto Trait Implementations§
impl RefUnwindSafe for MatchArmsPtr
impl Send for MatchArmsPtr
impl Sync for MatchArmsPtr
impl Unpin for MatchArmsPtr
impl UnwindSafe for MatchArmsPtr
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.