pub struct CharInfo(/* private fields */);
Expand description
Information about a character including unicode properties and boundary analysis.
Implementations§
source§impl CharInfo
impl CharInfo
sourcepub fn new(properties: Properties, boundary: Boundary) -> Self
pub fn new(properties: Properties, boundary: Boundary) -> Self
Creates new character information from Unicode properties and boundary analysis.
sourcepub fn properties(self) -> Properties
pub fn properties(self) -> Properties
Returns the unicode properties for the character.
Trait Implementations§
source§impl From<&CharInfo> for Properties
impl From<&CharInfo> for Properties
source§impl From<&Properties> for CharInfo
impl From<&Properties> for CharInfo
source§fn from(p: &Properties) -> Self
fn from(p: &Properties) -> Self
Converts to this type from the input type.
source§impl From<CharInfo> for Properties
impl From<CharInfo> for Properties
source§impl From<Properties> for CharInfo
impl From<Properties> for CharInfo
source§fn from(p: Properties) -> Self
fn from(p: Properties) -> Self
Converts to this type from the input type.
impl Copy for CharInfo
impl Eq for CharInfo
impl StructuralPartialEq for CharInfo
Auto Trait Implementations§
impl Freeze for CharInfo
impl RefUnwindSafe for CharInfo
impl Send for CharInfo
impl Sync for CharInfo
impl Unpin for CharInfo
impl UnwindSafe for CharInfo
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
)