#[non_exhaustive]pub enum HAlign {
Left,
Center,
Right,
Aligned,
Middle,
Fit,
}Expand description
DXF TEXT’s horizontal alignment (group 72)
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Left
Center
Right
Aligned
between at and at2: the height follows the width (the width factor stays)
Middle
the centre of the baseline and the middle of all the text’s ink, descenders too
Fit
between at and at2: the width factor follows (the height stays)
Trait Implementations§
impl Copy for HAlign
impl Eq for HAlign
impl StructuralPartialEq for HAlign
Auto Trait Implementations§
impl Forget for HAlign
impl Freeze for HAlign
impl Move for HAlign
impl RefUnwindSafe for HAlign
impl Send for HAlign
impl Sync for HAlign
impl Unpin for HAlign
impl UnsafeUnpin for HAlign
impl UnwindSafe for HAlign
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