Struct freya_engine::prelude::GlyphClusterInfo
pub struct GlyphClusterInfo {
pub bounds: Rect,
pub text_range: Range<usize>,
pub position: skia_textlayout_TextDirection,
}
Fields§
§bounds: Rect
§text_range: Range<usize>
§position: skia_textlayout_TextDirection
Trait Implementations§
§impl Clone for GlyphClusterInfo
impl Clone for GlyphClusterInfo
§fn clone(&self) -> GlyphClusterInfo
fn clone(&self) -> GlyphClusterInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for GlyphClusterInfo
impl Debug for GlyphClusterInfo
§impl PartialEq for GlyphClusterInfo
impl PartialEq for GlyphClusterInfo
§fn eq(&self, other: &GlyphClusterInfo) -> bool
fn eq(&self, other: &GlyphClusterInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GlyphClusterInfo
Auto Trait Implementations§
impl Freeze for GlyphClusterInfo
impl RefUnwindSafe for GlyphClusterInfo
impl Send for GlyphClusterInfo
impl Sync for GlyphClusterInfo
impl Unpin for GlyphClusterInfo
impl UnwindSafe for GlyphClusterInfo
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