pub struct BinaryOperatorPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Trait 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§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