Enum pdf_writer::types::Placement
source · pub enum Placement {
Block,
Inline,
Before,
Start,
End,
}Expand description
Placement of an element.
Variants§
Block
Stacked in the block order.
Inline
Stacked in the inline order.
Before
Before edge coincides with that of reference area, touching the edge of the previous block.
Start
Start edge coincides with that of reference area, aligned on the non-stacking axis of the reference area.
End
End edge coincides with that of reference area, aligned on the non-stacking axis of the reference area.
Trait Implementations§
source§impl PartialEq for Placement
impl PartialEq for Placement
impl Copy for Placement
impl Eq for Placement
impl StructuralEq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnwindSafe for Placement
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