[−]Struct unic_ucd::ChangesWhenCasefolded
Represents values of the Unicode character property
Changes_When_Casefolded
.
The value is true
for characters that change when casefolded, false
otherwise.
Methods
impl ChangesWhenCasefolded
pub fn of(ch: char) -> ChangesWhenCasefolded
Get (struct) property value of the character.
pub fn as_bool(&self) -> bool
Get boolean property value of the character.
Trait Implementations
impl PartialEq<ChangesWhenCasefolded> for ChangesWhenCasefolded
fn eq(&self, other: &ChangesWhenCasefolded) -> bool
fn ne(&self, other: &ChangesWhenCasefolded) -> bool
impl Eq for ChangesWhenCasefolded
impl Debug for ChangesWhenCasefolded
impl FromStr for ChangesWhenCasefolded
type Err = ()
The associated error which can be returned from parsing.
fn from_str(
s: &str
) -> Result<ChangesWhenCasefolded, <ChangesWhenCasefolded as FromStr>::Err>
s: &str
) -> Result<ChangesWhenCasefolded, <ChangesWhenCasefolded as FromStr>::Err>
impl CharProperty for ChangesWhenCasefolded
fn prop_abbr_name() -> &'static str
fn prop_long_name() -> &'static str
fn prop_human_name() -> &'static str
impl Hash for ChangesWhenCasefolded
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
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 Default for ChangesWhenCasefolded
fn default() -> ChangesWhenCasefolded
impl BinaryCharProperty for ChangesWhenCasefolded
fn as_bool(&self) -> bool
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.
impl Copy for ChangesWhenCasefolded
impl TotalCharProperty for ChangesWhenCasefolded
fn of(ch: char) -> ChangesWhenCasefolded
impl Display for ChangesWhenCasefolded
impl Clone for ChangesWhenCasefolded
fn clone(&self) -> ChangesWhenCasefolded
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ChangesWhenCasefolded
impl Sync for ChangesWhenCasefolded
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> PartialCharProperty for T where
T: TotalCharProperty,
[src]
T: TotalCharProperty,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,