pub struct ErrorLocation {
pub line: u64,
pub column: u64,
}Expand description
エラー位置情報(1-based、未知の場合は 0)。
Fields§
§line: u64§column: u64Implementations§
Trait Implementations§
Source§impl Clone for ErrorLocation
impl Clone for ErrorLocation
Source§fn clone(&self) -> ErrorLocation
fn clone(&self) -> ErrorLocation
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorLocation
impl Debug for ErrorLocation
Source§impl Default for ErrorLocation
impl Default for ErrorLocation
Source§fn default() -> ErrorLocation
fn default() -> ErrorLocation
Returns the “default value” for a type. Read more
Source§impl Display for ErrorLocation
impl Display for ErrorLocation
Source§impl PartialEq for ErrorLocation
impl PartialEq for ErrorLocation
impl Copy for ErrorLocation
impl Eq for ErrorLocation
impl StructuralPartialEq for ErrorLocation
Auto Trait Implementations§
impl Freeze for ErrorLocation
impl RefUnwindSafe for ErrorLocation
impl Send for ErrorLocation
impl Sync for ErrorLocation
impl Unpin for ErrorLocation
impl UnwindSafe for ErrorLocation
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)