pub enum LoadSpace<'a> {
Default,
Resolved(SpaceId),
Deferred(&'a str),
}Expand description
The address space a load or store names.
Variants§
Default
No space was written: the specification’s default.
Resolved(SpaceId)
A resolved space.
Deferred(&'a str)
A space name compilation never resolved, borrowed from the producer. Cannot occur in a consumer-form AST; the passes report it as unresolved, and an AST built from the node keeps the name.
Trait Implementations§
impl<'a> Copy for LoadSpace<'a>
impl<'a> Eq for LoadSpace<'a>
Source§impl<'a> From<&'a Option<SpaceRef>> for LoadSpace<'a>
impl<'a> From<&'a Option<SpaceRef>> for LoadSpace<'a>
Source§fn from(space: &'a Option<PcodeSpaceRef>) -> Self
fn from(space: &'a Option<PcodeSpaceRef>) -> Self
Converts to this type from the input type.
impl<'a> StructuralPartialEq for LoadSpace<'a>
Auto Trait Implementations§
impl<'a> Freeze for LoadSpace<'a>
impl<'a> RefUnwindSafe for LoadSpace<'a>
impl<'a> Send for LoadSpace<'a>
impl<'a> Sync for LoadSpace<'a>
impl<'a> Unpin for LoadSpace<'a>
impl<'a> UnsafeUnpin for LoadSpace<'a>
impl<'a> UnwindSafe for LoadSpace<'a>
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