pub struct NodeLocation {
pub offset: usize,
}Expand description
A location in the checked pattern. The first character has offset 0.
Fields§
§offset: usizeThe UTF-16 offset.
Trait Implementations§
Source§impl Clone for NodeLocation
impl Clone for NodeLocation
impl Copy for NodeLocation
Source§impl Debug for NodeLocation
impl Debug for NodeLocation
impl Eq for NodeLocation
Source§impl PartialEq for NodeLocation
impl PartialEq for NodeLocation
impl StructuralPartialEq for NodeLocation
Auto Trait Implementations§
impl Freeze for NodeLocation
impl RefUnwindSafe for NodeLocation
impl Send for NodeLocation
impl Sync for NodeLocation
impl Unpin for NodeLocation
impl UnsafeUnpin for NodeLocation
impl UnwindSafe for NodeLocation
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