pub struct BinaryOperatorPtr(pub SyntaxStablePtrId);Tuple Fields§
§0: SyntaxStablePtrIdTrait Implementations§
source§impl Clone for BinaryOperatorPtr
impl Clone for BinaryOperatorPtr
source§fn clone(&self) -> BinaryOperatorPtr
fn clone(&self) -> BinaryOperatorPtr
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 BinaryOperatorPtr
impl Debug for BinaryOperatorPtr
source§impl From<BinaryOperatorPtr> for SyntaxStablePtrId
impl From<BinaryOperatorPtr> for SyntaxStablePtrId
source§fn from(ptr: BinaryOperatorPtr) -> Self
fn from(ptr: BinaryOperatorPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalAndAndPtr> for BinaryOperatorPtr
impl From<TerminalAndAndPtr> for BinaryOperatorPtr
source§fn from(value: TerminalAndAndPtr) -> Self
fn from(value: TerminalAndAndPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalAndPtr> for BinaryOperatorPtr
impl From<TerminalAndPtr> for BinaryOperatorPtr
source§fn from(value: TerminalAndPtr) -> Self
fn from(value: TerminalAndPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalDivEqPtr> for BinaryOperatorPtr
impl From<TerminalDivEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalDivEqPtr) -> Self
fn from(value: TerminalDivEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalDivPtr> for BinaryOperatorPtr
impl From<TerminalDivPtr> for BinaryOperatorPtr
source§fn from(value: TerminalDivPtr) -> Self
fn from(value: TerminalDivPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalDotDotPtr> for BinaryOperatorPtr
impl From<TerminalDotDotPtr> for BinaryOperatorPtr
source§fn from(value: TerminalDotDotPtr) -> Self
fn from(value: TerminalDotDotPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalDotPtr> for BinaryOperatorPtr
impl From<TerminalDotPtr> for BinaryOperatorPtr
source§fn from(value: TerminalDotPtr) -> Self
fn from(value: TerminalDotPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalEqEqPtr> for BinaryOperatorPtr
impl From<TerminalEqEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalEqEqPtr) -> Self
fn from(value: TerminalEqEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalEqPtr> for BinaryOperatorPtr
impl From<TerminalEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalEqPtr) -> Self
fn from(value: TerminalEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalGEPtr> for BinaryOperatorPtr
impl From<TerminalGEPtr> for BinaryOperatorPtr
source§fn from(value: TerminalGEPtr) -> Self
fn from(value: TerminalGEPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalGTPtr> for BinaryOperatorPtr
impl From<TerminalGTPtr> for BinaryOperatorPtr
source§fn from(value: TerminalGTPtr) -> Self
fn from(value: TerminalGTPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalLEPtr> for BinaryOperatorPtr
impl From<TerminalLEPtr> for BinaryOperatorPtr
source§fn from(value: TerminalLEPtr) -> Self
fn from(value: TerminalLEPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalLTPtr> for BinaryOperatorPtr
impl From<TerminalLTPtr> for BinaryOperatorPtr
source§fn from(value: TerminalLTPtr) -> Self
fn from(value: TerminalLTPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMinusEqPtr> for BinaryOperatorPtr
impl From<TerminalMinusEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalMinusEqPtr) -> Self
fn from(value: TerminalMinusEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMinusPtr> for BinaryOperatorPtr
impl From<TerminalMinusPtr> for BinaryOperatorPtr
source§fn from(value: TerminalMinusPtr) -> Self
fn from(value: TerminalMinusPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalModEqPtr> for BinaryOperatorPtr
impl From<TerminalModEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalModEqPtr) -> Self
fn from(value: TerminalModEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalModPtr> for BinaryOperatorPtr
impl From<TerminalModPtr> for BinaryOperatorPtr
source§fn from(value: TerminalModPtr) -> Self
fn from(value: TerminalModPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMulEqPtr> for BinaryOperatorPtr
impl From<TerminalMulEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalMulEqPtr) -> Self
fn from(value: TerminalMulEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMulPtr> for BinaryOperatorPtr
impl From<TerminalMulPtr> for BinaryOperatorPtr
source§fn from(value: TerminalMulPtr) -> Self
fn from(value: TerminalMulPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalNeqPtr> for BinaryOperatorPtr
impl From<TerminalNeqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalNeqPtr) -> Self
fn from(value: TerminalNeqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalNotPtr> for BinaryOperatorPtr
impl From<TerminalNotPtr> for BinaryOperatorPtr
source§fn from(value: TerminalNotPtr) -> Self
fn from(value: TerminalNotPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalOrOrPtr> for BinaryOperatorPtr
impl From<TerminalOrOrPtr> for BinaryOperatorPtr
source§fn from(value: TerminalOrOrPtr) -> Self
fn from(value: TerminalOrOrPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalOrPtr> for BinaryOperatorPtr
impl From<TerminalOrPtr> for BinaryOperatorPtr
source§fn from(value: TerminalOrPtr) -> Self
fn from(value: TerminalOrPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalPlusEqPtr> for BinaryOperatorPtr
impl From<TerminalPlusEqPtr> for BinaryOperatorPtr
source§fn from(value: TerminalPlusEqPtr) -> Self
fn from(value: TerminalPlusEqPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalPlusPtr> for BinaryOperatorPtr
impl From<TerminalPlusPtr> for BinaryOperatorPtr
source§fn from(value: TerminalPlusPtr) -> Self
fn from(value: TerminalPlusPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalXorPtr> for BinaryOperatorPtr
impl From<TerminalXorPtr> for BinaryOperatorPtr
source§fn from(value: TerminalXorPtr) -> Self
fn from(value: TerminalXorPtr) -> Self
Converts to this type from the input type.
source§impl Hash for BinaryOperatorPtr
impl Hash for BinaryOperatorPtr
source§impl PartialEq for BinaryOperatorPtr
impl PartialEq for BinaryOperatorPtr
source§impl TypedStablePtr for BinaryOperatorPtr
impl TypedStablePtr for BinaryOperatorPtr
type SyntaxNode = BinaryOperator
source§fn untyped(&self) -> SyntaxStablePtrId
fn untyped(&self) -> SyntaxStablePtrId
Returns the untyped stable pointer.
source§fn lookup(&self, db: &dyn SyntaxGroup) -> BinaryOperator
fn lookup(&self, db: &dyn SyntaxGroup) -> BinaryOperator
Returns the syntax node pointed to by this stable pointer.
impl Copy for BinaryOperatorPtr
impl Eq for BinaryOperatorPtr
impl StructuralPartialEq for BinaryOperatorPtr
Auto Trait Implementations§
impl Freeze for BinaryOperatorPtr
impl RefUnwindSafe for BinaryOperatorPtr
impl Send for BinaryOperatorPtr
impl Sync for BinaryOperatorPtr
impl Unpin for BinaryOperatorPtr
impl UnwindSafe for BinaryOperatorPtr
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more