pub(crate) struct ContractFlags {
pub split_transmute_asserted: bool,
pub alias_hazard_accepted: bool,
pub has_checked_bounds: bool,
pub saw_next_discriminant: bool,
}Expand description
One-shot execution/contract flags accumulated while stepping a path.
Fields§
§split_transmute_asserted: boolWhether a SplitTransmute contract was asserted by the caller.
alias_hazard_accepted: boolWhether an Alias hazard was accepted via the caller’s contract.
has_checked_bounds: boolWhether a ChecksIndexBoundsDisjoint call was processed in any checkpoint of this function (accumulated across checkpoints).
saw_next_discriminant: boolSet once the path evaluated an Iterator::next discriminant whose
variant was known symbolically.
Trait Implementations§
Source§impl Clone for ContractFlags
impl Clone for ContractFlags
Source§fn clone(&self) -> ContractFlags
fn clone(&self) -> ContractFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ContractFlags
Source§impl Debug for ContractFlags
impl Debug for ContractFlags
Source§impl Default for ContractFlags
impl Default for ContractFlags
Source§fn default() -> ContractFlags
fn default() -> ContractFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl DynSend for ContractFlags
impl DynSync for ContractFlags
impl Freeze for ContractFlags
impl RefUnwindSafe for ContractFlags
impl Send for ContractFlags
impl Sync for ContractFlags
impl Unpin for ContractFlags
impl UnsafeUnpin for ContractFlags
impl UnwindSafe for ContractFlags
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more