Struct cairo_lang_sierra::program::ConcreteTypeLongId
source · pub struct ConcreteTypeLongId {
pub generic_id: GenericTypeId,
pub generic_args: Vec<GenericArg>,
}
Expand description
A concrete type (the generic parent type and the generic arguments).
Fields§
§generic_id: GenericTypeId
The id of the used generic type.
generic_args: Vec<GenericArg>
The arguments for the generic type.
Trait Implementations§
source§impl Clone for ConcreteTypeLongId
impl Clone for ConcreteTypeLongId
source§fn clone(&self) -> ConcreteTypeLongId
fn clone(&self) -> ConcreteTypeLongId
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 ConcreteTypeLongId
impl Debug for ConcreteTypeLongId
source§impl Display for ConcreteTypeLongId
impl Display for ConcreteTypeLongId
source§impl Hash for ConcreteTypeLongId
impl Hash for ConcreteTypeLongId
source§impl PartialEq for ConcreteTypeLongId
impl PartialEq for ConcreteTypeLongId
source§fn eq(&self, other: &ConcreteTypeLongId) -> bool
fn eq(&self, other: &ConcreteTypeLongId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConcreteTypeLongId
impl StructuralEq for ConcreteTypeLongId
impl StructuralPartialEq for ConcreteTypeLongId
Auto Trait Implementations§
impl RefUnwindSafe for ConcreteTypeLongId
impl Send for ConcreteTypeLongId
impl Sync for ConcreteTypeLongId
impl Unpin for ConcreteTypeLongId
impl UnwindSafe for ConcreteTypeLongId
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.