pub struct Opening {
pub first_line: Option<FirstLine>,
pub taken: usize,
pub node: NodeId,
}Expand description
What sets a paragraph’s opening apart from the rest of it.
Fields§
§first_line: Option<FirstLine>What ::first-line changes about the line the paragraph
opens on.
taken: usizeBytes of the paragraph’s text a drop cap already set. They are neither shaped nor broken here; the cap carries the range they cover.
node: NodeIdThe paragraph. The runs its ::first-line style reaches carry
the id of that pseudo-element.
Trait Implementations§
impl Copy for Opening
impl StructuralPartialEq for Opening
Auto Trait Implementations§
impl Freeze for Opening
impl RefUnwindSafe for Opening
impl Send for Opening
impl Sync for Opening
impl Unpin for Opening
impl UnsafeUnpin for Opening
impl UnwindSafe for Opening
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.