pub struct ScopeEntry {
pub symbol: String,
pub ownership: OwnershipState,
}Expand description
A single variable binding in a scope.
Fields§
§symbol: String§ownership: OwnershipStateImplementations§
Trait Implementations§
Source§impl Clone for ScopeEntry
impl Clone for ScopeEntry
Source§fn clone(&self) -> ScopeEntry
fn clone(&self) -> ScopeEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ScopeEntry
impl RefUnwindSafe for ScopeEntry
impl Send for ScopeEntry
impl Sync for ScopeEntry
impl Unpin for ScopeEntry
impl UnwindSafe for ScopeEntry
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