pub struct VersionedProjection {
pub versions: Vec<VersionDef>,
pub version: Option<VersionDef>,
pub hir: ProjectedHir,
}Expand description
One HIR projection produced from a specification.
Fields§
§versions: Vec<VersionDef>API versions this projection contains; empty for unversioned contracts.
version: Option<VersionDef>Target version of a single-version projection; None for merged and
unversioned projections.
hir: ProjectedHirThe projected HIR.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VersionedProjection
impl RefUnwindSafe for VersionedProjection
impl Send for VersionedProjection
impl Sync for VersionedProjection
impl Unpin for VersionedProjection
impl UnsafeUnpin for VersionedProjection
impl UnwindSafe for VersionedProjection
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