README

wzzc-dev/moui/core/unicode does not have a README file

#
GraphemeRange

pub(all) struct GraphemeRange {
start : Int
end : Int
} derive(Eq,
Debug
)

package free of any core dependency.

#
GraphemeRange::collapsed

fn GraphemeRange::collapsed(index : Int) -> GraphemeRange

#
GraphemeRange::is_collapsed

fn GraphemeRange::is_collapsed(self : GraphemeRange) -> Bool

#
GraphemeRange::new

fn GraphemeRange::new(start~ : Int, end~ : Int) -> GraphemeRange

#
GraphemeRange::normalized

fn GraphemeRange::normalized(self : GraphemeRange) -> GraphemeRange

#
TextGraphemeBoundaries

pub struct TextGraphemeBoundaries {
// private fields
} derive(Eq,
Debug
)

#
TextGraphemeBoundaries::boundaries

fn TextGraphemeBoundaries::boundaries(self : TextGraphemeBoundaries) -> Array[Int]

#
TextGraphemeBoundaries::ceil_boundary

fn TextGraphemeBoundaries::ceil_boundary(self : TextGraphemeBoundaries, index : Int) -> Int

#
TextGraphemeBoundaries::clamp_index

fn TextGraphemeBoundaries::clamp_index(self : TextGraphemeBoundaries, index : Int) -> Int

#
TextGraphemeBoundaries::cluster_count

fn TextGraphemeBoundaries::cluster_count(self : TextGraphemeBoundaries) -> Int

#
TextGraphemeBoundaries::delete_range

fn TextGraphemeBoundaries::delete_range(self : TextGraphemeBoundaries, caret : Int, before : Int, after : Int) -> GraphemeRange

#
TextGraphemeBoundaries::floor_boundary

fn TextGraphemeBoundaries::floor_boundary(self : TextGraphemeBoundaries, index : Int) -> Int

#
TextGraphemeBoundaries::is_boundary

fn TextGraphemeBoundaries::is_boundary(self : TextGraphemeBoundaries, index : Int) -> Bool

#
TextGraphemeBoundaries::length

#
TextGraphemeBoundaries::nearest_boundary

fn TextGraphemeBoundaries::nearest_boundary(self : TextGraphemeBoundaries, index : Int) -> Int

#
TextGraphemeBoundaries::nearest_boundary_utf8_offset

fn TextGraphemeBoundaries::nearest_boundary_utf8_offset(self : TextGraphemeBoundaries, index : Int) -> Int

#
TextGraphemeBoundaries::new

#
TextGraphemeBoundaries::next_boundary

fn TextGraphemeBoundaries::next_boundary(self : TextGraphemeBoundaries, caret : Int) -> Int

#
TextGraphemeBoundaries::normalize_range

#
TextGraphemeBoundaries::previous_boundary

fn TextGraphemeBoundaries::previous_boundary(self : TextGraphemeBoundaries, caret : Int) -> Int

#
TextGraphemeBoundaries::text

#
TextGraphemeBoundaries::utf8_offset

fn TextGraphemeBoundaries::utf8_offset(self : TextGraphemeBoundaries, index : Int) -> Int

#
next_grapheme_caret_boundary

fn next_grapheme_caret_boundary(text : String, caret : Int) -> Int

#
previous_grapheme_caret_boundary

fn previous_grapheme_caret_boundary(text : String, caret : Int) -> Int

#
stabilize_grapheme_cluster_carets

fn stabilize_grapheme_cluster_carets(text : String, carets : Array[Double]) -> Array[Double]