pub struct Binding {
pub name: String,
pub kind: BindingKind,
pub scope: ScopeId,
pub node: Option<NodeId>,
/* private fields */
}Expand description
A name declared in a scope.
Fields§
§name: String§kind: BindingKind§scope: ScopeId§node: Option<NodeId>The identifier that declares it first; None for arguments.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Binding
impl Freeze for Binding
impl Move for Binding
impl RefUnwindSafe for Binding
impl Send for Binding
impl Sync for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
impl UnwindSafe for Binding
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