pub struct PageNum {
pub instr: InstrPAGE,
pub frame_property: Option<FrameProperty>,
pub paragraph_property: Option<ParagraphProperty>,
}
Fields§
§instr: InstrPAGE
§frame_property: Option<FrameProperty>
§paragraph_property: Option<ParagraphProperty>
Implementations§
source§impl PageNum
impl PageNum
pub fn new() -> Self
pub fn wrap(self, wrap: impl Into<String>) -> Self
pub fn v_anchor(self, anchor: impl Into<String>) -> Self
pub fn h_anchor(self, anchor: impl Into<String>) -> Self
pub fn h_rule(self, r: impl Into<String>) -> Self
pub fn x_align(self, align: impl Into<String>) -> Self
pub fn y_align(self, align: impl Into<String>) -> Self
pub fn h_space(self, x: i32) -> Self
pub fn v_space(self, x: i32) -> Self
pub fn x(self, x: i32) -> Self
pub fn y(self, y: i32) -> Self
pub fn width(self, n: u32) -> Self
pub fn height(self, n: u32) -> Self
pub fn align(self, alignment_type: AlignmentType) -> Self
Trait Implementations§
source§impl PartialEq for PageNum
impl PartialEq for PageNum
impl StructuralPartialEq for PageNum
Auto Trait Implementations§
impl Freeze for PageNum
impl RefUnwindSafe for PageNum
impl Send for PageNum
impl Sync for PageNum
impl Unpin for PageNum
impl UnwindSafe for PageNum
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