Struct Dash
Source #[non_exhaustive]
pub struct Dash;
Expand description
Punctuation characters explicitly called out as dashes in the Unicode Standard, plus
their compatibility equivalents.
§Example
use icu::properties::CodePointSetData;
use icu::properties::props::Dash;
let dash = CodePointSetData::new::<Dash>();
assert!(dash.contains('⸺')); assert!(dash.contains('-')); assert!(!dash.contains('='));
The name of this property
The abbreviated name of this property, if it exists, otherwise the name
Convenience method for
CodePointSetData::new().contains(ch) Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.