pub struct ParagraphGlyph {
pub id: u32,
pub style_index: usize,
pub cluster_index: usize,
pub position: LayoutPoint,
pub advance: LayoutUnit,
}Expand description
One shaped glyph and its association with a logical cluster.
Fields§
§id: u32§style_index: usize§cluster_index: usize§position: LayoutPoint§advance: LayoutUnitTrait Implementations§
Source§impl Clone for ParagraphGlyph
impl Clone for ParagraphGlyph
Source§fn clone(&self) -> ParagraphGlyph
fn clone(&self) -> ParagraphGlyph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParagraphGlyph
Source§impl Debug for ParagraphGlyph
impl Debug for ParagraphGlyph
Source§impl<'de> Deserialize<'de> for ParagraphGlyph
impl<'de> Deserialize<'de> for ParagraphGlyph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ParagraphGlyph
impl PartialEq for ParagraphGlyph
Source§impl Serialize for ParagraphGlyph
impl Serialize for ParagraphGlyph
impl StructuralPartialEq for ParagraphGlyph
Auto Trait Implementations§
impl Freeze for ParagraphGlyph
impl RefUnwindSafe for ParagraphGlyph
impl Send for ParagraphGlyph
impl Sync for ParagraphGlyph
impl Unpin for ParagraphGlyph
impl UnsafeUnpin for ParagraphGlyph
impl UnwindSafe for ParagraphGlyph
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