Struct ra_ap_syntax::SyntaxError
source · [−]pub struct SyntaxError(_, _);
Expand description
Represents the result of unsuccessful tokenization, parsing or tree validation.
Implementations
Trait Implementations
sourceimpl Clone for SyntaxError
impl Clone for SyntaxError
sourcefn clone(&self) -> SyntaxError
fn clone(&self) -> SyntaxError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SyntaxError
impl Debug for SyntaxError
sourceimpl Display for SyntaxError
impl Display for SyntaxError
sourceimpl Hash for SyntaxError
impl Hash for SyntaxError
sourceimpl PartialEq<SyntaxError> for SyntaxError
impl PartialEq<SyntaxError> for SyntaxError
sourcefn eq(&self, other: &SyntaxError) -> bool
fn eq(&self, other: &SyntaxError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SyntaxError) -> bool
fn ne(&self, other: &SyntaxError) -> bool
This method tests for !=
.
impl Eq for SyntaxError
impl StructuralEq for SyntaxError
impl StructuralPartialEq for SyntaxError
Auto Trait Implementations
impl RefUnwindSafe for SyntaxError
impl Send for SyntaxError
impl Sync for SyntaxError
impl Unpin for SyntaxError
impl UnwindSafe for SyntaxError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.