pub struct RawIdents {
pub enum: Ident,
pub discriminant: Ident,
pub fields: Ident,
pub variants: Ident,
pub raw_enum_fn: Ident,
pub discriminant_fn: Ident,
pub variant_fn: Ident,
/* private fields */
}
Expand description
The identifiers of the generated items.
Fields
enum: Ident
The identifier of the raw enum.
discriminant: Ident
The identifier of the raw enum discriminant.
fields: Ident
The identifier of the raw enum fields union (if any).
variants: Ident
The identifier of the variants enum.
raw_enum_fn: Ident
The identifier of the function that converts a pointer to an enum to a pointer to a raw enum.
discriminant_fn: Ident
The identifier of the function that gets a pointer to the discriminant of the raw enum.
variant_fn: Ident
The identifier of the function that determines the variant of the enum and casts it to the appropriate variant struct.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for RawIdents
impl !Send for RawIdents
impl !Sync for RawIdents
impl Unpin for RawIdents
impl UnwindSafe for RawIdents
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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