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§
source§impl PartialEq for Alignment
impl PartialEq for Alignment
impl Copy for Alignment
impl StructuralPartialEq for Alignment
Auto Trait Implementations§
impl Freeze for Alignment
impl RefUnwindSafe for Alignment
impl Send for Alignment
impl Sync for Alignment
impl Unpin for Alignment
impl UnwindSafe for Alignment
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
§impl<T> Pointable for T
impl<T> Pointable for T
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