Enum leo_ast::types::core_constant::CoreConstant
source · pub enum CoreConstant {
GroupGenerator,
}
Expand description
A core constant that maps directly to an AVM bytecode constant.
Variants§
GroupGenerator
Implementations§
Trait Implementations§
source§impl Clone for CoreConstant
impl Clone for CoreConstant
source§fn clone(&self) -> CoreConstant
fn clone(&self) -> CoreConstant
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 PartialEq for CoreConstant
impl PartialEq for CoreConstant
source§fn eq(&self, other: &CoreConstant) -> bool
fn eq(&self, other: &CoreConstant) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CoreConstant
impl StructuralPartialEq for CoreConstant
Auto Trait Implementations§
impl Freeze for CoreConstant
impl RefUnwindSafe for CoreConstant
impl Send for CoreConstant
impl Sync for CoreConstant
impl Unpin for CoreConstant
impl UnwindSafe for CoreConstant
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§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<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.