Struct cairo_lang_lowering::objects::Variable
source · pub struct Variable {
pub droppable: bool,
pub duplicatable: bool,
pub ty: TypeId,
pub location: StableLocation,
}Expand description
Lowered variable representation.
Fields§
§droppable: boolCan the type be (trivially) dropped.
duplicatable: boolCan the type be (trivially) duplicated.
ty: TypeIdSemantic type of the variable.
location: StableLocationLocation of the variable.
Trait Implementations§
source§impl PartialEq<Variable> for Variable
impl PartialEq<Variable> for Variable
impl Eq for Variable
impl StructuralEq for Variable
impl StructuralPartialEq for Variable
Auto Trait Implementations§
impl RefUnwindSafe for Variable
impl Send for Variable
impl Sync for Variable
impl Unpin for Variable
impl UnwindSafe for Variable
Blanket Implementations§
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.