pub struct ClusterInfo {
pub cluster_idx: usize,
pub codepoint: u32,
pub glyph_idx: usize,
}
Expand description
Info about what cluster a certain glyph belongs to.
Fields§
§cluster_idx: usize
Cluster index in this word
codepoint: u32
Codepoint of this cluster
glyph_idx: usize
What the glyph index of this cluster is
Trait Implementations§
Source§impl Clone for ClusterInfo
impl Clone for ClusterInfo
Source§fn clone(&self) -> ClusterInfo
fn clone(&self) -> ClusterInfo
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 moreSource§impl Debug for ClusterInfo
impl Debug for ClusterInfo
Source§impl Hash for ClusterInfo
impl Hash for ClusterInfo
Source§impl Ord for ClusterInfo
impl Ord for ClusterInfo
Source§fn cmp(&self, other: &ClusterInfo) -> Ordering
fn cmp(&self, other: &ClusterInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ClusterInfo
impl PartialEq for ClusterInfo
Source§impl PartialOrd for ClusterInfo
impl PartialOrd for ClusterInfo
impl Copy for ClusterInfo
impl Eq for ClusterInfo
impl StructuralPartialEq for ClusterInfo
Auto Trait Implementations§
impl Freeze for ClusterInfo
impl RefUnwindSafe for ClusterInfo
impl Send for ClusterInfo
impl Sync for ClusterInfo
impl Unpin for ClusterInfo
impl UnwindSafe for ClusterInfo
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)