pub struct PtxParseError {
pub kind: ParseErrorKind,
pub span: Span,
}Expand description
PTX parsing error with location information.
Fields§
§kind: ParseErrorKind§span: SpanTrait Implementations§
Source§impl Clone for PtxParseError
impl Clone for PtxParseError
Source§fn clone(&self) -> PtxParseError
fn clone(&self) -> PtxParseError
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 Debug for PtxParseError
impl Debug for PtxParseError
Source§impl Display for PtxParseError
impl Display for PtxParseError
Source§impl Error for PtxParseError
impl Error for PtxParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<LexError> for PtxParseError
impl From<LexError> for PtxParseError
Source§impl PartialEq for PtxParseError
impl PartialEq for PtxParseError
impl Eq for PtxParseError
impl StructuralPartialEq for PtxParseError
Auto Trait Implementations§
impl Freeze for PtxParseError
impl RefUnwindSafe for PtxParseError
impl Send for PtxParseError
impl Sync for PtxParseError
impl Unpin for PtxParseError
impl UnwindSafe for PtxParseError
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