[][src]Struct unicode_security::mixed_script::AugmentedScriptSet

pub struct AugmentedScriptSet {
    pub base: ScriptExtension,
    pub hanb: bool,
    pub jpan: bool,
    pub kore: bool,
}

An Augmented script set, as defined by UTS 39

https://www.unicode.org/reports/tr39/#def-augmented-script-set

Fields

base: ScriptExtension

The base ScriptExtension value

hanb: bool

Han With Bopomofo

jpan: bool

Japanese

kore: bool

Korean

Implementations

impl AugmentedScriptSet[src]

pub fn intersect_with(&mut self, other: Self)[src]

Intersect this set with another

pub fn is_empty(&self) -> bool[src]

Check if the set is empty

pub fn is_all(&self) -> bool[src]

Check if the set is "All" (Common or Inherited)

pub fn for_char(c: char) -> Self[src]

Construct an AugmentedScriptSet for a given character

pub fn for_str(s: &str) -> Self[src]

Find the resolved script set of a given string

Trait Implementations

impl Clone for AugmentedScriptSet[src]

impl Copy for AugmentedScriptSet[src]

impl Debug for AugmentedScriptSet[src]

impl Default for AugmentedScriptSet[src]

impl Display for AugmentedScriptSet[src]

impl Eq for AugmentedScriptSet[src]

impl<'_> From<&'_ str> for AugmentedScriptSet[src]

impl From<ScriptExtension> for AugmentedScriptSet[src]

impl From<char> for AugmentedScriptSet[src]

impl Hash for AugmentedScriptSet[src]

impl PartialEq<AugmentedScriptSet> for AugmentedScriptSet[src]

impl StructuralEq for AugmentedScriptSet[src]

impl StructuralPartialEq for AugmentedScriptSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.