Struct unic_ucd_ident::XidStart
[−]
pub struct XidStart(_);
A character that can start an identifier, stable under NFKC.
Methods
impl XidStart
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 XidStart
impl Clone for XidStart
fn clone(&self) -> XidStart
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 XidStart
impl Default for XidStart
impl Eq for XidStart
impl PartialEq for XidStart
fn eq(&self, __arg_0: &XidStart) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &XidStart) -> bool
This method tests for !=
.
impl Hash for XidStart
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 XidStart
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 XidStart
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 XidStart
fn of(ch: char) -> Self
The property value for the character.
impl BinaryCharProperty for XidStart
fn as_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.