Struct unic_ucd_case::cased::Cased
[−]
pub struct Cased(_);
Represents values of the Unicode character property Cased.
The value is true
for cased characters, false
otherwise.
Methods
impl Cased
fn of(ch: char) -> Self
Get (struct) property value of the character.
fn as_bool(&self) -> bool
Get boolean property value of the character.
Trait Implementations
impl Copy for Cased
impl Clone for Cased
fn clone(&self) -> Cased
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Cased
impl Default for Cased
impl Eq for Cased
impl PartialEq for Cased
fn eq(&self, __arg_0: &Cased) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cased) -> bool
This method tests for !=
.
impl Hash for Cased
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl FromStr for Cased
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
Parses a string s
to return a value of this type. Read more
impl CharProperty for Cased
fn prop_abbr_name() -> &'static str
The abbreviated name of the property.
fn prop_long_name() -> &'static str
The long name of the property.
fn prop_human_name() -> &'static str
The human-readable name of the property.
impl TotalCharProperty for Cased
impl BinaryCharProperty for Cased
fn bool(&self) -> bool
The boolean value of the property value.
fn abbr_name(&self) -> &'static str
[src]
The abbreviated name of the property value.
fn long_name(&self) -> &'static str
[src]
The long name of the property value.
fn human_name(&self) -> &'static str
[src]
The human-readable name of the property value.