pub struct Repr {
pub paren_token: Paren,
pub base: Option<Base>,
pub primitive_type: Option<PrimitiveType>,
pub modifier: Option<Modifier>,
}
Expand description
A complete repr
AST node.
Fields
paren_token: Paren
The parentheses surrounding the arguments to repr
.
base: Option<Base>
The base repr
, if any.
primitive_type: Option<PrimitiveType>
repr(C, i*)
/repr(C, u*)
modifier: Option<Modifier>
The repr
modifiers, if any.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Repr
impl !Send for Repr
impl !Sync for Repr
impl Unpin for Repr
impl UnwindSafe for Repr
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