Enum cairo_lang_filesystem::flag::Flag
source · pub enum Flag {
AddWithdrawGas(bool),
}
Expand description
A compilation flag.
Variants§
AddWithdrawGas(bool)
Whether automatically add withdraw_gas
calls in code cycles.
Default is true - automatically add.
Trait Implementations§
source§impl PartialEq<Flag> for Flag
impl PartialEq<Flag> for Flag
impl Eq for Flag
impl StructuralEq for Flag
impl StructuralPartialEq for Flag
Auto Trait Implementations§
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 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.