Struct cairo_lang_semantic::literals::LiteralLongId
source · pub struct LiteralLongId {
pub value: BigInt,
}
Fields§
§value: BigInt
Trait Implementations§
source§impl Clone for LiteralLongId
impl Clone for LiteralLongId
source§fn clone(&self) -> LiteralLongId
fn clone(&self) -> LiteralLongId
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 LiteralLongId
impl Debug for LiteralLongId
source§impl Hash for LiteralLongId
impl Hash for LiteralLongId
source§impl PartialEq for LiteralLongId
impl PartialEq for LiteralLongId
source§fn eq(&self, other: &LiteralLongId) -> bool
fn eq(&self, other: &LiteralLongId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LiteralLongId
impl StructuralEq for LiteralLongId
impl StructuralPartialEq for LiteralLongId
Auto Trait Implementations§
impl RefUnwindSafe for LiteralLongId
impl Send for LiteralLongId
impl Sync for LiteralLongId
impl Unpin for LiteralLongId
impl UnwindSafe for LiteralLongId
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.§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.