#[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('⸺'));  // U+2E3A TWO-EM DASH
assert!(dash.contains('-'));  // U+002D
assert!(!dash.contains('='));  // U+003DTrait Implementations§
Source§impl BinaryProperty for Dash
 
impl BinaryProperty for Dash
Auto Trait Implementations§
impl Freeze for Dash
impl RefUnwindSafe for Dash
impl Send for Dash
impl Sync for Dash
impl Unpin for Dash
impl UnwindSafe for Dash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more