Enum cairo_lang_filesystem::flag::Flag
source · pub enum Flag {
AddWithdrawGas(bool),
AddRedepositGas(bool),
NumericMatchOptimizationMinArmsThreshold(usize),
}
Expand description
A compilation flag.
Variants§
AddWithdrawGas(bool)
Whether automatically add withdraw_gas
calls in code cycles.
Default is true - automatically add.
AddRedepositGas(bool)
Whether automatically add redeposit_gas
calls on stores of the gas builtin.
Default is false - automatically add.
NumericMatchOptimizationMinArmsThreshold(usize)
Trait Implementations§
source§impl PartialEq for Flag
impl PartialEq for Flag
impl Eq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
impl Freeze for Flag
impl RefUnwindSafe for Flag
impl Send for Flag
impl Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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§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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.