pub struct Substitution {
pub declaration: String,
pub actual: Option<Origin>,
pub identity: u32,
}Expand description
An actual active compiler substitution, including dynamic INSTANCE contexts.
Fields§
§declaration: StringThe declaration being substituted.
actual: Option<Origin>Origin of the actual expression, if the binding is an expression.
identity: u32Unique substitution identity in this compilation.
Trait Implementations§
Source§impl Clone for Substitution
impl Clone for Substitution
Auto Trait Implementations§
impl Forget for Substitution
impl Freeze for Substitution
impl Move for Substitution
impl RefUnwindSafe for Substitution
impl Send for Substitution
impl Sync for Substitution
impl Unpin for Substitution
impl UnsafeUnpin for Substitution
impl UnwindSafe for Substitution
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