Struct swash::text::Properties [−][src]
pub struct Properties(_);
Compact, constant time reference to Unicode properties for a character.
Implementations
impl Properties
[src]
impl Properties
[src]pub fn category(self) -> Category
[src]
Returns the category of the character.
pub fn block(self) -> Block
[src]
Returns the unicode block that contains the character.
pub fn script(self) -> Script
[src]
Returns the script to which the character belongs.
pub fn combining_class(self) -> u8
[src]
Returns the canonical combining class of the character.
pub fn bidi_class(self) -> BidiClass
[src]
Returns the bidirectional type of the character.
pub fn joining_type(self) -> JoiningType
[src]
Returns the joining type of the character.
pub fn cluster_break(self) -> ClusterBreak
[src]
Returns the cluster break property for the character.
pub fn word_break(self) -> WordBreak
[src]
Returns the word break property for the character.
pub fn line_break(self) -> LineBreak
[src]
Returns the line break property for the character.
pub fn is_emoji(self) -> bool
[src]
Returns true if the character is an emoji.
pub fn is_extended_pictographic(self) -> bool
[src]
Returns true if the character is an extended pictographic symbol.
pub fn is_open_bracket(self) -> bool
[src]
Returns true if the character is an opening bracket.
pub fn is_close_bracket(self) -> bool
[src]
Returns true if the character is a closing bracket.
Trait Implementations
impl Clone for Properties
[src]
impl Clone for Properties
[src]fn clone(&self) -> Properties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Properties
[src]
impl Copy for Properties
[src]impl Default for Properties
[src]
impl Default for Properties
[src]fn default() -> Properties
[src]
impl Eq for Properties
[src]
impl Eq for Properties
[src]impl From<&'_ Properties> for CharInfo
[src]
impl From<&'_ Properties> for CharInfo
[src]fn from(p: &Properties) -> Self
[src]
impl From<Properties> for CharInfo
[src]
impl From<Properties> for CharInfo
[src]fn from(p: Properties) -> Self
[src]
impl PartialEq<Properties> for Properties
[src]
impl PartialEq<Properties> for Properties
[src]fn eq(&self, other: &Properties) -> bool
[src]
fn ne(&self, other: &Properties) -> bool
[src]
impl StructuralEq for Properties
[src]
impl StructuralEq for Properties
[src]impl StructuralPartialEq for Properties
[src]
impl StructuralPartialEq for Properties
[src]Auto Trait Implementations
impl RefUnwindSafe for Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Send for Properties
impl Sync for Properties
impl Sync for Properties
impl Unpin for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
impl UnwindSafe for Properties