pub struct Current {
pub name: Arc<String>,
pub source_range: Range,
pub mutable: bool,
}
Expand description
Current object reference.
This puts the current object into scope for a function.
Fields§
§name: Arc<String>
The name of the current object.
source_range: Range
The range in source.
mutable: bool
Whether the current object is mutable.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Current
impl Send for Current
impl Sync for Current
impl Unpin for Current
impl UnwindSafe for Current
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