Enum oq3_syntax::syntax_node::OpenQASM3Language
source · pub enum OpenQASM3Language {}
Trait Implementations§
source§impl Clone for OpenQASM3Language
impl Clone for OpenQASM3Language
source§fn clone(&self) -> OpenQASM3Language
fn clone(&self) -> OpenQASM3Language
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 OpenQASM3Language
impl Debug for OpenQASM3Language
source§impl Hash for OpenQASM3Language
impl Hash for OpenQASM3Language
source§impl Language for OpenQASM3Language
impl Language for OpenQASM3Language
type Kind = SyntaxKind
fn kind_from_raw(raw: SyntaxKind) -> SyntaxKind
fn kind_to_raw(kind: SyntaxKind) -> SyntaxKind
source§impl Ord for OpenQASM3Language
impl Ord for OpenQASM3Language
source§fn cmp(&self, other: &OpenQASM3Language) -> Ordering
fn cmp(&self, other: &OpenQASM3Language) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OpenQASM3Language
impl PartialEq for OpenQASM3Language
source§fn eq(&self, other: &OpenQASM3Language) -> bool
fn eq(&self, other: &OpenQASM3Language) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OpenQASM3Language
impl PartialOrd for OpenQASM3Language
source§fn partial_cmp(&self, other: &OpenQASM3Language) -> Option<Ordering>
fn partial_cmp(&self, other: &OpenQASM3Language) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OpenQASM3Language
impl Eq for OpenQASM3Language
impl StructuralPartialEq for OpenQASM3Language
Auto Trait Implementations§
impl Freeze for OpenQASM3Language
impl RefUnwindSafe for OpenQASM3Language
impl Send for OpenQASM3Language
impl Sync for OpenQASM3Language
impl Unpin for OpenQASM3Language
impl UnwindSafe for OpenQASM3Language
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§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