pub struct BoxData {
pub width: i32,
pub depth: i32,
pub height: i32,
pub dir: i8,
pub shift: i32,
pub glue_order: u8,
pub glue_sign: u8,
pub glue_set: f64,
pub head: NodeRef,
}Expand description
Box fields shared by hlist and vlist nodes.
Fields§
§width: i32Width.
depth: i32Depth.
height: i32Height.
dir: i8Direction (0 = TLT).
shift: i32Shift amount.
glue_order: u8Glue order of the setting.
glue_sign: u8Glue sign: 0 normal, 1 stretching, 2 shrinking.
glue_set: f64Glue set ratio. LuaTeX keeps it in single precision, so computed
ratios are rounded to f32 (see glue_ratio).
head: NodeRefThe list.
Trait Implementations§
impl StructuralPartialEq for BoxData
Auto Trait Implementations§
impl Freeze for BoxData
impl RefUnwindSafe for BoxData
impl Send for BoxData
impl Sync for BoxData
impl Unpin for BoxData
impl UnsafeUnpin for BoxData
impl UnwindSafe for BoxData
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