pub struct CachedContext {
pub buffer_id: usize,
pub line: u32,
pub col: u32,
pub context: Option<ContextHierarchy>,
}Expand description
Cached context state
Fields§
§buffer_id: usizeBuffer ID this context is for
line: u32Line where context was computed
col: u32Column where context was computed
context: Option<ContextHierarchy>The context hierarchy
Trait Implementations§
Source§impl Clone for CachedContext
impl Clone for CachedContext
Source§fn clone(&self) -> CachedContext
fn clone(&self) -> CachedContext
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 CachedContext
impl RefUnwindSafe for CachedContext
impl Send for CachedContext
impl Sync for CachedContext
impl Unpin for CachedContext
impl UnwindSafe for CachedContext
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