Struct unic_ucd_bidi::bidi_control::BidiControl
[−]
pub struct BidiControl(_);
Represents values of the Unicode character property Bidi_Control.
The value is true
if the character is a Bidirectional control character, false
otherwise.
Methods
impl BidiControl
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 BidiControl
impl Clone for BidiControl
fn clone(&self) -> BidiControl
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 BidiControl
impl Default for BidiControl
fn default() -> BidiControl
Returns the "default value" for a type. Read more
impl Eq for BidiControl
impl PartialEq for BidiControl
fn eq(&self, __arg_0: &BidiControl) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BidiControl) -> bool
This method tests for !=
.
impl Hash for BidiControl
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 BidiControl
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 BidiControl
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 BidiControl
impl BinaryCharProperty for BidiControl
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.