pub struct BoxResource {
pub list: NodeRef,
pub size: (i32, i32, i32),
pub attr: Vec<u8>,
pub resources: Vec<u8>,
pub written: bool,
pub obj: i32,
}Expand description
A saved box resource (\saveboxresource): a TeX box written as a PDF
form XObject when first used (or at once with \immediate).
Fields§
§list: NodeRefThe box (taken from its register).
size: (i32, i32, i32)Width, height and depth of the box.
attr: Vec<u8>Extra entries for the form dictionary (attr {…}).
resources: Vec<u8>Extra entries for the form’s resources (resources {…}).
written: boolWhether the form has been written.
obj: i32The PDF object number reserved for the form (also its index).
Trait Implementations§
Source§impl Clone for BoxResource
impl Clone for BoxResource
Auto Trait Implementations§
impl Freeze for BoxResource
impl RefUnwindSafe for BoxResource
impl Send for BoxResource
impl Sync for BoxResource
impl Unpin for BoxResource
impl UnsafeUnpin for BoxResource
impl UnwindSafe for BoxResource
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