pub struct NewWork {
pub trim_width: f64,
pub trim_height: f64,
pub bleed: f64,
pub resolution: f64,
pub pages: usize,
pub spreads: bool,
pub binding: Binding,
pub start: StartSide,
pub title: String,
pub author: String,
}Expand description
Settings of a new work (sizes in millimetres).
Fields§
§trim_width: f64Finished (trim) size of one page.
trim_height: f64Height of the finished page.
bleed: f64Bleed around the trim (裁ち落とし幅).
resolution: f64Dots per inch.
pages: usizeNumber of pages (a spread counts 2).
spreads: boolJoin facing pages into spreads (対向ページを見開きにする).
binding: BindingBinding side.
start: StartSideSide of the first page.
title: StringTitle written into the story info (作品情報).
Author written into the story info.
Implementations§
Trait Implementations§
impl StructuralPartialEq for NewWork
Auto Trait Implementations§
impl Freeze for NewWork
impl RefUnwindSafe for NewWork
impl Send for NewWork
impl Sync for NewWork
impl Unpin for NewWork
impl UnsafeUnpin for NewWork
impl UnwindSafe for NewWork
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