pub struct PartialParseError {
pub line: usize,
pub message: String,
pub span: Option<Span>,
}Expand description
部分パースエラー
Fields§
§line: usizeエラーが発生した行番号(1-based)
message: Stringエラーメッセージ
span: Option<Span>エラー範囲のSpan(取得できた場合)
Trait Implementations§
Source§impl Clone for PartialParseError
impl Clone for PartialParseError
Source§fn clone(&self) -> PartialParseError
fn clone(&self) -> PartialParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PartialParseError
impl RefUnwindSafe for PartialParseError
impl Send for PartialParseError
impl Sync for PartialParseError
impl Unpin for PartialParseError
impl UnsafeUnpin for PartialParseError
impl UnwindSafe for PartialParseError
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