pub struct IncrScopeEntry {
pub start: usize,
pub kind: ScopeKind2,
pub depth: usize,
}Expand description
Represents a bracket/indentation scope for incremental scope tracking.
Fields§
§start: usize§kind: ScopeKind2§depth: usizeImplementations§
Source§impl IncrScopeEntry
impl IncrScopeEntry
pub fn new(start: usize, kind: ScopeKind2, depth: usize) -> Self
Trait Implementations§
Source§impl Clone for IncrScopeEntry
impl Clone for IncrScopeEntry
Source§fn clone(&self) -> IncrScopeEntry
fn clone(&self) -> IncrScopeEntry
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 IncrScopeEntry
impl RefUnwindSafe for IncrScopeEntry
impl Send for IncrScopeEntry
impl Sync for IncrScopeEntry
impl Unpin for IncrScopeEntry
impl UnsafeUnpin for IncrScopeEntry
impl UnwindSafe for IncrScopeEntry
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