pub enum SpaceRef {
Resolved(SpaceId),
Deferred(Box<str>),
}Expand description
A space reference that may be unresolved at Phase 2 parse time.
Variants§
Resolved(SpaceId)
A space of the compiled specification. Always this variant by the time a consumer sees an expression.
Deferred(Box<str>)
Space name absent from the symbol table during Phase 2; resolved in Phase 3.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpaceRef
impl<'de> Deserialize<'de> for SpaceRef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SpaceRef
impl StructuralPartialEq for SpaceRef
Auto Trait Implementations§
impl Freeze for SpaceRef
impl RefUnwindSafe for SpaceRef
impl Send for SpaceRef
impl Sync for SpaceRef
impl Unpin for SpaceRef
impl UnsafeUnpin for SpaceRef
impl UnwindSafe for SpaceRef
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