pub struct Watermark {
pub text: String,
pub rotation_deg: f32,
pub size: f32,
pub color: Color,
pub font: FontKey,
}Fields§
§text: String§rotation_deg: f32Counter-clockwise rotation in degrees, applied around the body box’s center. 45° (bottom-left to top-right diagonal) matches the conventional “ENTWURF”/“DRAFT” stamp look.
size: f32§color: Color§font: FontKeyImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Watermark
impl RefUnwindSafe for Watermark
impl Send for Watermark
impl Sync for Watermark
impl Unpin for Watermark
impl UnsafeUnpin for Watermark
impl UnwindSafe for Watermark
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