pub struct LetInstance {
pub name: Option<String>,
pub module: String,
pub subs: Vec<(String, Expr)>,
}Expand description
An INSTANCE introduced by a LET, in scope only for its body.
Fields§
§name: Option<String>§module: String§subs: Vec<(String, Expr)>Trait Implementations§
Source§impl Clone for LetInstance
impl Clone for LetInstance
Source§fn clone(&self) -> LetInstance
fn clone(&self) -> LetInstance
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 moreSource§impl Debug for LetInstance
impl Debug for LetInstance
Source§impl Display for LetInstance
impl Display for LetInstance
impl Eq for LetInstance
Source§impl PartialEq for LetInstance
impl PartialEq for LetInstance
impl StructuralPartialEq for LetInstance
Auto Trait Implementations§
impl Freeze for LetInstance
impl RefUnwindSafe for LetInstance
impl Send for LetInstance
impl Sync for LetInstance
impl Unpin for LetInstance
impl UnsafeUnpin for LetInstance
impl UnwindSafe for LetInstance
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