Enum rtf_parser::paragraph::Alignment
source · pub enum Alignment {
LeftAligned,
RightAligned,
Center,
Justify,
}
Variants§
Trait Implementations§
source§impl From<&ControlWord<'_>> for Alignment
impl From<&ControlWord<'_>> for Alignment
source§fn from(cw: &ControlWord<'_>) -> Self
fn from(cw: &ControlWord<'_>) -> Self
Converts to this type from the input type.
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