Enum rustc_parse_format::Alignment
source · [−]pub enum Alignment {
AlignLeft,
AlignRight,
AlignCenter,
AlignUnknown,
}
Expand description
Enum of alignments which are supported.
Variants
AlignLeft
The value will be aligned to the left.
AlignRight
The value will be aligned to the right.
AlignCenter
The value will be aligned in the center.
AlignUnknown
The value will take on a default alignment.
Trait Implementations
impl Copy for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
AlignLeft
: 0 bytesAlignRight
: 0 bytesAlignCenter
: 0 bytesAlignUnknown
: 0 bytes