pub struct HostBox {
pub width: i32,
pub height: i32,
pub depth: i32,
pub runs: Vec<HostBoxRun>,
pub rules: Vec<HostBoxRule>,
}Expand description
Host supplied box for one \hostbox token: metrics plus render data for the fragment.
Fields§
§width: i32Box width in scaled points.
height: i32Box height above the baseline in scaled points.
depth: i32Box depth below the baseline in scaled points.
runs: Vec<HostBoxRun>Glyph runs rendered inside the box.
rules: Vec<HostBoxRule>Rules rendered inside the box.
Trait Implementations§
impl Eq for HostBox
impl StructuralPartialEq for HostBox
Auto Trait Implementations§
impl Freeze for HostBox
impl RefUnwindSafe for HostBox
impl Send for HostBox
impl Sync for HostBox
impl Unpin for HostBox
impl UnsafeUnpin for HostBox
impl UnwindSafe for HostBox
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