pub struct PublicationFrame {
pub placement: PublicationFramePlacement,
pub x_mm: f32,
pub y_mm: f32,
pub width_mm: f32,
pub height_mm: f32,
pub stroke_width_mm: f32,
}Expand description
A host-rendered rectangular publication frame in physical page coordinates.
This is geometry only. Stroke color, dashes, and PDF/SVG drawing remain a host policy.
Fields§
§placement: PublicationFramePlacement§x_mm: f32§y_mm: f32§width_mm: f32§height_mm: f32§stroke_width_mm: f32Trait Implementations§
Source§impl Clone for PublicationFrame
impl Clone for PublicationFrame
Source§impl Debug for PublicationFrame
impl Debug for PublicationFrame
Source§impl<'de> Deserialize<'de> for PublicationFrame
impl<'de> Deserialize<'de> for PublicationFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PublicationFrame
impl PartialEq for PublicationFrame
Source§impl Serialize for PublicationFrame
impl Serialize for PublicationFrame
impl StructuralPartialEq for PublicationFrame
Auto Trait Implementations§
impl Freeze for PublicationFrame
impl RefUnwindSafe for PublicationFrame
impl Send for PublicationFrame
impl Sync for PublicationFrame
impl Unpin for PublicationFrame
impl UnsafeUnpin for PublicationFrame
impl UnwindSafe for PublicationFrame
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