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