Struct Math

struct Math

Characters used in mathematical notation.

Example

use icu::properties::CodePointSetData;
use icu::properties::props::Math;

let math = CodePointSetData::new::<Math>();

assert!(math.contains('='));
assert!(math.contains('+'));
assert!(!math.contains('-'));
assert!(math.contains(''));  // U+2212 MINUS SIGN
assert!(!math.contains('/'));
assert!(math.contains(''));  // U+2215 DIVISION SLASH

Implementations

impl BinaryProperty for Math

impl Debug for Math

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Freeze for Math

impl RefUnwindSafe for Math

impl Send for Math

impl Sync for Math

impl Unpin for Math

impl UnsafeUnpin for Math

impl UnwindSafe for Math

impl<T> Any for Math

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Math

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Math

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> ErasedDestructor for Math

impl<T> From for Math

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Math

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Math

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Math

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>