pub struct LocationInfo {
pub col: usize,
pub row: usize,
pub pos: usize,
pub place: String,
}Fields§
§col: usize§row: usize§pos: usize§place: StringTrait Implementations§
Source§impl Clone for LocationInfo
impl Clone for LocationInfo
Source§fn clone(&self) -> LocationInfo
fn clone(&self) -> LocationInfo
Returns a duplicate 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 Display for LocationInfo
impl Display for LocationInfo
Source§impl Ord for LocationInfo
impl Ord for LocationInfo
Source§fn cmp(&self, other: &LocationInfo) -> Ordering
fn cmp(&self, other: &LocationInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocationInfo
impl PartialEq for LocationInfo
Source§impl PartialOrd for LocationInfo
impl PartialOrd for LocationInfo
Source§fn partial_cmp(&self, other: &LocationInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &LocationInfo) -> Option<Ordering>
Source§fn lt(&self, other: &LocationInfo) -> bool
fn lt(&self, other: &LocationInfo) -> bool
Source§fn le(&self, other: &LocationInfo) -> bool
fn le(&self, other: &LocationInfo) -> bool
Source§fn gt(&self, other: &LocationInfo) -> bool
fn gt(&self, other: &LocationInfo) -> bool
impl Eq for LocationInfo
Auto Trait Implementations§
impl Freeze for LocationInfo
impl RefUnwindSafe for LocationInfo
impl Send for LocationInfo
impl Sync for LocationInfo
impl Unpin for LocationInfo
impl UnwindSafe for LocationInfo
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