pub struct SyntaxError { /* private fields */ }Implementations§
Source§impl SyntaxError
impl SyntaxError
pub fn operator_eq(&self, rhs: &SyntaxError) -> bool
Trait Implementations§
Source§impl Clone for SyntaxError
impl Clone for SyntaxError
Source§fn clone(&self) -> SyntaxError
fn clone(&self) -> SyntaxError
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 moreSource§impl CopyError for SyntaxError
impl CopyError for SyntaxError
fn copy_error_impl( &mut self, _dest_arena: &mut TypeArena, _clone_state: &mut CloneState, )
Source§impl Debug for SyntaxError
impl Debug for SyntaxError
impl Eq for SyntaxError
Source§impl ErrorToString for SyntaxError
impl ErrorToString for SyntaxError
fn error_to_string_impl(&self, stream: &mut dyn Write) -> Result
Source§impl From<SyntaxError> for TypeErrorData
impl From<SyntaxError> for TypeErrorData
Source§fn from(value: SyntaxError) -> Self
fn from(value: SyntaxError) -> Self
Converts to this type from the input type.
Source§impl Hash for SyntaxError
impl Hash for SyntaxError
Source§impl PartialEq for SyntaxError
impl PartialEq for SyntaxError
Source§fn eq(&self, other: &SyntaxError) -> bool
fn eq(&self, other: &SyntaxError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SyntaxError
Source§impl TypeErrorDataMember for SyntaxError
impl TypeErrorDataMember for SyntaxError
fn get_if(v: &TypeErrorData) -> Option<&Self>
fn get_if_mut(v: &mut TypeErrorData) -> Option<&mut Self>
Auto Trait Implementations§
impl Freeze for SyntaxError
impl RefUnwindSafe for SyntaxError
impl Send for SyntaxError
impl Sync for SyntaxError
impl Unpin for SyntaxError
impl UnsafeUnpin for SyntaxError
impl UnwindSafe for SyntaxError
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