pub struct CmcProject {
pub version: Option<String>,
pub root_node: i64,
pub bind_position: i64,
pub start_page: i64,
pub cover: bool,
pub page_unit: i64,
pub page_width: f64,
pub page_height: f64,
pub page_resolution: f64,
pub double_page: bool,
pub max_canvas_file_index: i64,
}Expand description
Work settings from Project (the common subset; the row has more).
Fields§
§version: Option<String>ProjectInternalVersion.
root_node: i64MainId of the root CanvasNode (ProjectRootCanvasNode).
bind_position: i64ComicBindPosition: 1 right binding (右綴じ), 0 left (crate::work::Binding).
start_page: i64ComicStartPage: 0 the first page is on the left, 1 on the right.
cover: boolThe work has covers (ComicCoverExist).
page_unit: i64DefaultPageUnit (0 = px, 2 = mm in the samples).
page_width: f64Default page width in page_unit (DefaultPageWidth).
page_height: f64Default page height in page_unit (DefaultPageHeight).
page_resolution: f64Default page resolution in dpi (DefaultPageResolution).
double_page: boolNew pages are spreads (DefaultPageDoublePage).
max_canvas_file_index: i64Highest NNNN used by a page file (MaxCanvasFileIndex); new files take the next one.
Trait Implementations§
Source§impl Clone for CmcProject
impl Clone for CmcProject
Source§impl Debug for CmcProject
impl Debug for CmcProject
Source§impl PartialEq for CmcProject
impl PartialEq for CmcProject
Source§impl Serialize for CmcProject
impl Serialize for CmcProject
impl StructuralPartialEq for CmcProject
Auto Trait Implementations§
impl Freeze for CmcProject
impl RefUnwindSafe for CmcProject
impl Send for CmcProject
impl Sync for CmcProject
impl Unpin for CmcProject
impl UnsafeUnpin for CmcProject
impl UnwindSafe for CmcProject
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