#[non_exhaustive]pub struct SymbolPush {
pub symbol: String,
pub precedence: i64,
pub is_reference: bool,
}Expand description
A reference: a symbol pushed onto the stack to be resolved against a definition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: StringThe referenced symbol’s name.
precedence: i64Resolution order among competing pushes; lower wins.
is_reference: boolWhether this push is a reference (as opposed to an internal relay).
Trait Implementations§
Source§impl Clone for SymbolPush
impl Clone for SymbolPush
Source§impl Debug for SymbolPush
impl Debug for SymbolPush
impl Eq for SymbolPush
Source§impl PartialEq for SymbolPush
impl PartialEq for SymbolPush
impl StructuralPartialEq for SymbolPush
Auto Trait Implementations§
impl Forget for SymbolPush
impl Freeze for SymbolPush
impl RefUnwindSafe for SymbolPush
impl Send for SymbolPush
impl Sync for SymbolPush
impl Unpin for SymbolPush
impl UnsafeUnpin for SymbolPush
impl UnwindSafe for SymbolPush
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