pub enum AlignmentKind {
Expr(Expr),
Type(Box<TypeName>),
}Expand description
The operand of an Alignment.
Variants§
Expr(Expr)
_Alignas(16) — a constant expression.
Type(Box<TypeName>)
_Alignas(double) — the alignment of a type.
Trait Implementations§
Source§impl Clone for AlignmentKind
impl Clone for AlignmentKind
Source§impl Debug for AlignmentKind
impl Debug for AlignmentKind
Source§impl PartialEq for AlignmentKind
impl PartialEq for AlignmentKind
impl StructuralPartialEq for AlignmentKind
Auto Trait Implementations§
impl Freeze for AlignmentKind
impl RefUnwindSafe for AlignmentKind
impl Send for AlignmentKind
impl Sync for AlignmentKind
impl Unpin for AlignmentKind
impl UnsafeUnpin for AlignmentKind
impl UnwindSafe for AlignmentKind
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