Enum quil_rs::reserved::ReservedConstant
source · pub enum ReservedConstant {
Imaginary,
Pi,
}
Expand description
Every reserved constant
Variants§
Trait Implementations§
source§impl Clone for ReservedConstant
impl Clone for ReservedConstant
source§fn clone(&self) -> ReservedConstant
fn clone(&self) -> ReservedConstant
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 ReservedConstant
impl Debug for ReservedConstant
source§impl Display for ReservedConstant
impl Display for ReservedConstant
source§impl FromStr for ReservedConstant
impl FromStr for ReservedConstant
source§impl PartialEq<ReservedConstant> for ReservedConstant
impl PartialEq<ReservedConstant> for ReservedConstant
source§fn eq(&self, other: &ReservedConstant) -> bool
fn eq(&self, other: &ReservedConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ReservedConstant
impl TryFrom<&str> for ReservedConstant
impl Eq for ReservedConstant
impl StructuralEq for ReservedConstant
impl StructuralPartialEq for ReservedConstant
Auto Trait Implementations§
impl RefUnwindSafe for ReservedConstant
impl Send for ReservedConstant
impl Sync for ReservedConstant
impl Unpin for ReservedConstant
impl UnwindSafe for ReservedConstant
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.