Struct flux_middle::fhir::FluxItems
source · pub struct FluxItems<'fhir> {
pub items: FxHashMap<Symbol, FluxItem<'fhir>>,
}
Expand description
A map between rust definitions and flux annotations in their desugared fhir
form.
note: most items in this struct have been moved out into their own query or method in genv. We should eventually get rid of this or change its name.
Fields§
§items: FxHashMap<Symbol, FluxItem<'fhir>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'fhir> Freeze for FluxItems<'fhir>
impl<'fhir> RefUnwindSafe for FluxItems<'fhir>
impl<'fhir> Send for FluxItems<'fhir>
impl<'fhir> Sync for FluxItems<'fhir>
impl<'fhir> Unpin for FluxItems<'fhir>
impl<'fhir> UnwindSafe for FluxItems<'fhir>
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<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