pub enum StampPosition {
Center,
TopLeft {
margin_x: f64,
margin_y: f64,
},
TopCenter {
margin_y: f64,
},
TopRight {
margin_x: f64,
margin_y: f64,
},
BottomLeft {
margin_x: f64,
margin_y: f64,
},
BottomCenter {
margin_y: f64,
},
BottomRight {
margin_x: f64,
margin_y: f64,
},
Custom {
x: f64,
y: f64,
},
}Expand description
Position placement of a stamp on the page.
Variants§
Trait Implementations§
Source§impl Clone for StampPosition
impl Clone for StampPosition
Source§fn clone(&self) -> StampPosition
fn clone(&self) -> StampPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StampPosition
Source§impl Debug for StampPosition
impl Debug for StampPosition
Source§impl PartialEq for StampPosition
impl PartialEq for StampPosition
impl StructuralPartialEq for StampPosition
Auto Trait Implementations§
impl Freeze for StampPosition
impl RefUnwindSafe for StampPosition
impl Send for StampPosition
impl Sync for StampPosition
impl Unpin for StampPosition
impl UnsafeUnpin for StampPosition
impl UnwindSafe for StampPosition
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