pub struct LocationInString {
pub line: usize,
pub col: usize,
}
Fields§
§line: usize
§col: usize
Trait Implementations§
Source§impl Clone for LocationInString
impl Clone for LocationInString
Source§fn clone(&self) -> LocationInString
fn clone(&self) -> LocationInString
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 LocationInString
impl Debug for LocationInString
impl Copy for LocationInString
Auto Trait Implementations§
impl Freeze for LocationInString
impl RefUnwindSafe for LocationInString
impl Send for LocationInString
impl Sync for LocationInString
impl Unpin for LocationInString
impl UnwindSafe for LocationInString
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