Struct swash::text::cluster::ClusterInfo[][src]

pub struct ClusterInfo(pub u16);

Information about a cluster including content properties and boundary analysis.

Implementations

impl ClusterInfo[src]

pub fn is_broken(self) -> bool[src]

Returns true if the cluster is missing an appropriate base character.

pub fn is_emoji(self) -> bool[src]

Returns true if the cluster is an emoji.

pub fn emoji(self) -> Emoji[src]

Returns the emoji presentation mode of the cluster.

pub fn is_whitespace(self) -> bool[src]

Returns true if the cluster is whitespace.

pub fn whitespace(self) -> Whitespace[src]

Returns the whitespace content of the cluster.

pub fn is_boundary(self) -> bool[src]

Returns true if the cluster is a boundary.

pub fn boundary(self) -> Boundary[src]

Returns the boundary state of the cluster.

Trait Implementations

impl Clone for ClusterInfo[src]

impl Copy for ClusterInfo[src]

impl Debug for ClusterInfo[src]

impl Default for ClusterInfo[src]

impl Eq for ClusterInfo[src]

impl PartialEq<ClusterInfo> for ClusterInfo[src]

impl StructuralEq for ClusterInfo[src]

impl StructuralPartialEq for ClusterInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.