Struct cairo_lang_lowering::objects::StatementDesnap
source · pub struct StatementDesnap {
pub input: VarUsage,
pub output: VariableId,
}
Expand description
A statement that desnaps a variable.
Fields§
§input: VarUsage
§output: VariableId
The variable to bind the value to.
Trait Implementations§
source§impl Clone for StatementDesnap
impl Clone for StatementDesnap
source§fn clone(&self) -> StatementDesnap
fn clone(&self) -> StatementDesnap
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 StatementDesnap
impl Debug for StatementDesnap
source§impl DebugWithDb<LoweredFormatter<'_>> for StatementDesnap
impl DebugWithDb<LoweredFormatter<'_>> for StatementDesnap
source§impl PartialEq for StatementDesnap
impl PartialEq for StatementDesnap
source§fn eq(&self, other: &StatementDesnap) -> bool
fn eq(&self, other: &StatementDesnap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StatementDesnap
impl StructuralEq for StatementDesnap
impl StructuralPartialEq for StatementDesnap
Auto Trait Implementations§
impl RefUnwindSafe for StatementDesnap
impl Send for StatementDesnap
impl Sync for StatementDesnap
impl Unpin for StatementDesnap
impl UnwindSafe for StatementDesnap
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.