pub struct Inherited;Expand description
Every inline takes the style of the block around it.
Trait Implementations§
Source§impl InlineStyles for Inherited
impl InlineStyles for Inherited
Source§fn style(&self, _id: NodeId, block: &ParagraphStyle) -> ParagraphStyle
fn style(&self, _id: NodeId, block: &ParagraphStyle) -> ParagraphStyle
The style of
id, given the style of the block it sits in.Source§fn inline_box(&self, _id: NodeId) -> Option<InlineBox>
fn inline_box(&self, _id: NodeId) -> Option<InlineBox>
The box the inline element
id paints around its runs, where
it paints one. Nothing, for a caller with no tree to ask.Auto Trait Implementations§
impl Freeze for Inherited
impl RefUnwindSafe for Inherited
impl Send for Inherited
impl Sync for Inherited
impl Unpin for Inherited
impl UnsafeUnpin for Inherited
impl UnwindSafe for Inherited
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
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.