pub struct InlineBox {
pub padding: Edges,
pub border: Edges,
pub cloned: bool,
}Expand description
What one inline element paints around its runs, and what that takes on each edge.
The edges are points. The leading and trailing ones are width like any other, so the breaker is told about them; the ones above and below leave the line the height it was.
Fields§
§padding: EdgesPadding, in points.
border: EdgesBorder widths, in points, zero on an edge that is not drawn.
cloned: boolWhether box-decoration-break: clone closes the edges a line
break cuts.
Implementations§
Trait Implementations§
impl Copy for InlineBox
impl StructuralPartialEq for InlineBox
Auto Trait Implementations§
impl Freeze for InlineBox
impl RefUnwindSafe for InlineBox
impl Send for InlineBox
impl Sync for InlineBox
impl Unpin for InlineBox
impl UnsafeUnpin for InlineBox
impl UnwindSafe for InlineBox
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.