pub struct PageLink {
pub file_name: String,
pub spread: bool,
pub unit: i64,
pub width: f64,
pub height: f64,
pub resolution: f64,
pub modified: [i64; 6],
}Expand description
What a page node records about its page file.
Fields§
§file_name: StringFile name, in the folder of the .cmc.
spread: boolA two-page spread (Canvas.CanvasDoublePage).
unit: i64CanvasUnit, CanvasWidth, CanvasHeight, CanvasResolution.
width: f64CanvasWidth, in unit.
height: f64CanvasHeight, in unit.
resolution: f64CanvasResolution, in dpi.
modified: [i64; 6]Save time as year, month, day, hour, minute, second (CSP writes the
PC’s local time; PageLink::read uses UTC, having no time zone).
Implementations§
Trait Implementations§
impl StructuralPartialEq for PageLink
Auto Trait Implementations§
impl Freeze for PageLink
impl RefUnwindSafe for PageLink
impl Send for PageLink
impl Sync for PageLink
impl Unpin for PageLink
impl UnsafeUnpin for PageLink
impl UnwindSafe for PageLink
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