pub struct LocationData {
pub line: usize,
pub character: usize,
}
Fields§
§line: usize
§character: usize
Trait Implementations§
Source§impl Clone for LocationData
impl Clone for LocationData
Source§fn clone(&self) -> LocationData
fn clone(&self) -> LocationData
Returns a copy 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 moreSource§impl Debug for LocationData
impl Debug for LocationData
Source§impl PartialEq for LocationData
impl PartialEq for LocationData
impl StructuralPartialEq for LocationData
Auto Trait Implementations§
impl Freeze for LocationData
impl RefUnwindSafe for LocationData
impl Send for LocationData
impl Sync for LocationData
impl Unpin for LocationData
impl UnwindSafe for LocationData
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