pub struct Structure {
pub inline_opts: Option<InlineOptions>,
pub root_import: Option<ImportRoot>,
pub name_ident: Ident,
pub generics: Generics,
pub field_list: FieldList,
pub options: StructureOptions,
}Expand description
A structure that corresponds to an error type.
Fields§
§inline_opts: Option<InlineOptions>The inline behavior for this structure.
root_import: Option<ImportRoot>The import root for this structure.
name_ident: IdentThe name of this structure.
generics: GenericsThe generic parameters of this structure.
field_list: FieldListThe field list of this structure.
options: StructureOptionsThe options for this structure.
Trait Implementations§
impl Eq for Structure
impl StructuralPartialEq for Structure
Auto Trait Implementations§
impl Freeze for Structure
impl RefUnwindSafe for Structure
impl !Send for Structure
impl !Sync for Structure
impl Unpin for Structure
impl UnwindSafe for Structure
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