Struct unicode_security::mixed_script::AugmentedScriptSet
source · [−]pub struct AugmentedScriptSet {
pub base: ScriptExtension,
pub hanb: bool,
pub jpan: bool,
pub kore: bool,
}
Expand description
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
sourceimpl AugmentedScriptSet
impl AugmentedScriptSet
sourcepub fn intersect_with(&mut self, other: Self)
pub fn intersect_with(&mut self, other: Self)
Intersect this set with another
sourcepub fn for_str(s: &str) -> Self
pub fn for_str(s: &str) -> Self
Find the resolved script set of a given string
Trait Implementations
sourceimpl Clone for AugmentedScriptSet
impl Clone for AugmentedScriptSet
sourcefn clone(&self) -> AugmentedScriptSet
fn clone(&self) -> AugmentedScriptSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AugmentedScriptSet
impl Debug for AugmentedScriptSet
sourceimpl Default for AugmentedScriptSet
impl Default for AugmentedScriptSet
sourceimpl Display for AugmentedScriptSet
impl Display for AugmentedScriptSet
sourceimpl From<&str> for AugmentedScriptSet
impl From<&str> for AugmentedScriptSet
sourceimpl From<ScriptExtension> for AugmentedScriptSet
impl From<ScriptExtension> for AugmentedScriptSet
sourcefn from(ext: ScriptExtension) -> Self
fn from(ext: ScriptExtension) -> Self
Converts to this type from the input type.
sourceimpl From<char> for AugmentedScriptSet
impl From<char> for AugmentedScriptSet
sourceimpl Hash for AugmentedScriptSet
impl Hash for AugmentedScriptSet
sourceimpl PartialEq<AugmentedScriptSet> for AugmentedScriptSet
impl PartialEq<AugmentedScriptSet> for AugmentedScriptSet
sourcefn eq(&self, other: &AugmentedScriptSet) -> bool
fn eq(&self, other: &AugmentedScriptSet) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for AugmentedScriptSet
impl Eq for AugmentedScriptSet
impl StructuralEq for AugmentedScriptSet
impl StructuralPartialEq for AugmentedScriptSet
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more