pub struct BinaryOperatorPtr<'db>(pub SyntaxStablePtrId<'db>);Tuple Fields§
§0: SyntaxStablePtrId<'db>Trait Implementations§
Source§impl<'db> Clone for BinaryOperatorPtr<'db>
impl<'db> Clone for BinaryOperatorPtr<'db>
Source§fn clone(&self) -> BinaryOperatorPtr<'db>
fn clone(&self) -> BinaryOperatorPtr<'db>
Returns a duplicate 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<'db> Debug for BinaryOperatorPtr<'db>
impl<'db> Debug for BinaryOperatorPtr<'db>
Source§impl<'db> From<BinaryOperatorPtr<'db>> for SyntaxStablePtrId<'db>
impl<'db> From<BinaryOperatorPtr<'db>> for SyntaxStablePtrId<'db>
Source§fn from(ptr: BinaryOperatorPtr<'db>) -> Self
fn from(ptr: BinaryOperatorPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalAndAndPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalAndAndPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalAndAndPtr<'db>) -> Self
fn from(value: TerminalAndAndPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalAndPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalAndPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalAndPtr<'db>) -> Self
fn from(value: TerminalAndPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalDivEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalDivEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalDivEqPtr<'db>) -> Self
fn from(value: TerminalDivEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalDivPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalDivPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalDivPtr<'db>) -> Self
fn from(value: TerminalDivPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalDotDotEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalDotDotEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalDotDotEqPtr<'db>) -> Self
fn from(value: TerminalDotDotEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalDotDotPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalDotDotPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalDotDotPtr<'db>) -> Self
fn from(value: TerminalDotDotPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalDotPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalDotPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalDotPtr<'db>) -> Self
fn from(value: TerminalDotPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalEqEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalEqEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalEqEqPtr<'db>) -> Self
fn from(value: TerminalEqEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalEqPtr<'db>) -> Self
fn from(value: TerminalEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalGEPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalGEPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalGEPtr<'db>) -> Self
fn from(value: TerminalGEPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalGTPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalGTPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalGTPtr<'db>) -> Self
fn from(value: TerminalGTPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalLEPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalLEPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalLEPtr<'db>) -> Self
fn from(value: TerminalLEPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalLTPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalLTPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalLTPtr<'db>) -> Self
fn from(value: TerminalLTPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalMinusEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalMinusEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalMinusEqPtr<'db>) -> Self
fn from(value: TerminalMinusEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalMinusPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalMinusPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalMinusPtr<'db>) -> Self
fn from(value: TerminalMinusPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalModEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalModEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalModEqPtr<'db>) -> Self
fn from(value: TerminalModEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalModPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalModPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalModPtr<'db>) -> Self
fn from(value: TerminalModPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalMulEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalMulEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalMulEqPtr<'db>) -> Self
fn from(value: TerminalMulEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalMulPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalMulPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalMulPtr<'db>) -> Self
fn from(value: TerminalMulPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalNeqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalNeqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalNeqPtr<'db>) -> Self
fn from(value: TerminalNeqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalNotPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalNotPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalNotPtr<'db>) -> Self
fn from(value: TerminalNotPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalOrOrPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalOrOrPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalOrOrPtr<'db>) -> Self
fn from(value: TerminalOrOrPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalOrPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalOrPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalOrPtr<'db>) -> Self
fn from(value: TerminalOrPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalPlusEqPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalPlusEqPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalPlusEqPtr<'db>) -> Self
fn from(value: TerminalPlusEqPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalPlusPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalPlusPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalPlusPtr<'db>) -> Self
fn from(value: TerminalPlusPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> From<TerminalXorPtr<'db>> for BinaryOperatorPtr<'db>
impl<'db> From<TerminalXorPtr<'db>> for BinaryOperatorPtr<'db>
Source§fn from(value: TerminalXorPtr<'db>) -> Self
fn from(value: TerminalXorPtr<'db>) -> Self
Converts to this type from the input type.
Source§impl<'db> Hash for BinaryOperatorPtr<'db>
impl<'db> Hash for BinaryOperatorPtr<'db>
Source§impl<'db> PartialEq for BinaryOperatorPtr<'db>
impl<'db> PartialEq for BinaryOperatorPtr<'db>
Source§impl<'db> TypedStablePtr<'db> for BinaryOperatorPtr<'db>
impl<'db> TypedStablePtr<'db> for BinaryOperatorPtr<'db>
type SyntaxNode = BinaryOperator<'db>
Source§fn untyped(self) -> SyntaxStablePtrId<'db>
fn untyped(self) -> SyntaxStablePtrId<'db>
Returns the untyped stable pointer.
Source§fn lookup(&self, db: &'db dyn Database) -> Self::SyntaxNode
fn lookup(&self, db: &'db dyn Database) -> Self::SyntaxNode
Returns the syntax node pointed to by this stable pointer.
Source§impl<'db> Update for BinaryOperatorPtr<'db>
impl<'db> Update for BinaryOperatorPtr<'db>
impl<'db> Copy for BinaryOperatorPtr<'db>
impl<'db> Eq for BinaryOperatorPtr<'db>
impl<'db> StructuralPartialEq for BinaryOperatorPtr<'db>
Auto Trait Implementations§
impl<'db> Freeze for BinaryOperatorPtr<'db>
impl<'db> RefUnwindSafe for BinaryOperatorPtr<'db>
impl<'db> Send for BinaryOperatorPtr<'db>
impl<'db> Sync for BinaryOperatorPtr<'db>
impl<'db> Unpin for BinaryOperatorPtr<'db>
impl<'db> UnwindSafe for BinaryOperatorPtr<'db>
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<'db, T> DebugDbUpcast<'db, T> for Twhere
T: ?Sized,
impl<'db, T> DebugDbUpcast<'db, T> for Twhere
T: ?Sized,
fn debug_db_upcast(&'db self) -> &'db T
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