pub struct PlacedRule {
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub span: Span,
}Expand description
A positioned rectangular rule (fraction bars, \overlines, radical
overbars). x/y name the rule’s left-bottom corner in ems, y-up.
Fields§
§x: f64Left edge, ems.
y: f64Bottom edge, baseline-relative ems, y-up.
width: f64Width, ems.
height: f64Height (thickness), ems.
span: SpanSource span of the construct that produced the rule.
Trait Implementations§
Source§impl Clone for PlacedRule
impl Clone for PlacedRule
Source§impl Debug for PlacedRule
impl Debug for PlacedRule
Source§impl PartialEq for PlacedRule
impl PartialEq for PlacedRule
impl StructuralPartialEq for PlacedRule
Auto Trait Implementations§
impl Freeze for PlacedRule
impl RefUnwindSafe for PlacedRule
impl Send for PlacedRule
impl Sync for PlacedRule
impl Unpin for PlacedRule
impl UnsafeUnpin for PlacedRule
impl UnwindSafe for PlacedRule
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