[−][src]Struct unicode_security::mixed_script::AugmentedScriptSet
An Augmented script set, as defined by UTS 39
https://www.unicode.org/reports/tr39/#def-augmented-script-set
Fields
base: ScriptExtensionThe base ScriptExtension value
hanb: boolHan With Bopomofo
jpan: boolJapanese
kore: boolKorean
Methods
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]
fn clone(&self) -> AugmentedScriptSet[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for AugmentedScriptSet[src]
impl Debug for AugmentedScriptSet[src]
impl Default for AugmentedScriptSet[src]
impl<'_> From<&'_ str> for AugmentedScriptSet[src]
impl From<ScriptExtension> for AugmentedScriptSet[src]
fn from(ext: ScriptExtension) -> Self[src]
impl From<char> for AugmentedScriptSet[src]
impl Hash for AugmentedScriptSet[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<AugmentedScriptSet> for AugmentedScriptSet[src]
fn eq(&self, other: &AugmentedScriptSet) -> bool[src]
fn ne(&self, other: &AugmentedScriptSet) -> bool[src]
impl StructuralPartialEq for AugmentedScriptSet[src]
Auto Trait Implementations
impl RefUnwindSafe for AugmentedScriptSet
impl Send for AugmentedScriptSet
impl Sync for AugmentedScriptSet
impl Unpin for AugmentedScriptSet
impl UnwindSafe for AugmentedScriptSet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,