pub struct Focus {
pub item: Item,
pub position: usize,
pub size: usize,
}Expand description
The focus of an evaluation: the context item, position and size.
Fields§
§item: ItemThe context item.
position: usizeThe context position, from 1.
size: usizeThe context size.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Focus
impl !Send for Focus
impl !Sync for Focus
impl !UnwindSafe for Focus
impl Forget for Focus
impl Freeze for Focus
impl Unpin for Focus
impl UnsafeUnpin for Focus
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