struct FunEnv {
reveals: UnordSet<FluxDefId>,
hides: UnordSet<FluxDefId>,
proven_externally: bool,
}Expand description
Determines which Flux functions are uninterpreted in the constraint generated for an item.
Fields§
§reveals: UnordSet<FluxDefId>§hides: UnordSet<FluxDefId>Functions hidden for the item (with #[hide] on the item)
proven_externally: boolImplementations§
Source§impl FunEnv
impl FunEnv
fn new(genv: GlobalEnv<'_, '_>, def_id: MaybeExternId) -> Self
Sourcefn is_uninterpreted(&self, genv: GlobalEnv<'_, '_>, did: FluxDefId) -> bool
fn is_uninterpreted(&self, genv: GlobalEnv<'_, '_>, did: FluxDefId) -> bool
A function is uninterpreted if it has no definition, or if it is hidden (either at its definition or for the item) and it is not revealed for the item, unless the item is proven externally.
Auto Trait Implementations§
impl DynSend for FunEnv
impl DynSync for FunEnv
impl Freeze for FunEnv
impl RefUnwindSafe for FunEnv
impl Send for FunEnv
impl Sync for FunEnv
impl Unpin for FunEnv
impl UnsafeUnpin for FunEnv
impl UnwindSafe for FunEnv
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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