pub struct ExternalVar {
pub name: QualifiedName,
pub slot: VarSlotId,
}Expand description
Information about an external variable declared at compile time.
External variables are those declared by the user (via compile_with_vars)
as opposed to variables introduced by the expression itself (like for $x in ...).
Fields§
§name: QualifiedNameThe qualified name of the variable
slot: VarSlotIdThe slot ID for storing the variable’s value
Trait Implementations§
Source§impl Clone for ExternalVar
impl Clone for ExternalVar
Source§fn clone(&self) -> ExternalVar
fn clone(&self) -> ExternalVar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExternalVar
impl RefUnwindSafe for ExternalVar
impl Send for ExternalVar
impl Sync for ExternalVar
impl Unpin for ExternalVar
impl UnsafeUnpin for ExternalVar
impl UnwindSafe for ExternalVar
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