pub struct HostBoxRule {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Expand description
A rule inside a host box, (x, y) is the bottom left corner, y down from the baseline.
Fields§
§x: i32Horizontal offset of the rule’s left edge from the box baseline origin.
y: i32Vertical offset of the rule’s bottom edge, positive downward.
width: i32Rule width in scaled points.
height: i32Rule height in scaled points, extending upward from y.
Trait Implementations§
Source§impl Clone for HostBoxRule
impl Clone for HostBoxRule
impl Copy for HostBoxRule
Source§impl Debug for HostBoxRule
impl Debug for HostBoxRule
impl Eq for HostBoxRule
Source§impl PartialEq for HostBoxRule
impl PartialEq for HostBoxRule
impl StructuralPartialEq for HostBoxRule
Auto Trait Implementations§
impl Freeze for HostBoxRule
impl RefUnwindSafe for HostBoxRule
impl Send for HostBoxRule
impl Sync for HostBoxRule
impl Unpin for HostBoxRule
impl UnsafeUnpin for HostBoxRule
impl UnwindSafe for HostBoxRule
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