Struct anchor_syn::Error [−][src]
pub struct Error { pub name: String, pub raw_enum: ItemEnum, pub ident: Ident, pub codes: Vec<ErrorCode>, }
Fields
name: String
raw_enum: ItemEnum
ident: Ident
codes: Vec<ErrorCode>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Error
impl !Send for Error
impl !Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self