pub struct PageStyle {
pub width: f32,
pub height: f32,
pub margin: f32,
}Expand description
Page geometry resolved from #set page(...). width/height
describe the full media box; margin is symmetric on all four
sides for MVP 1.5 (per-side margins are deferred).
Fields§
§width: f32§height: f32§margin: f32Trait Implementations§
impl Copy for PageStyle
impl StructuralPartialEq for PageStyle
Auto Trait Implementations§
impl Freeze for PageStyle
impl RefUnwindSafe for PageStyle
impl Send for PageStyle
impl Sync for PageStyle
impl Unpin for PageStyle
impl UnsafeUnpin for PageStyle
impl UnwindSafe for PageStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.