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§
source§impl 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§
source§impl Clone for AugmentedScriptSet
impl Clone for AugmentedScriptSet
source§fn clone(&self) -> AugmentedScriptSet
fn clone(&self) -> AugmentedScriptSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AugmentedScriptSet
impl Debug for AugmentedScriptSet
source§impl Default for AugmentedScriptSet
impl Default for AugmentedScriptSet
source§impl Display for AugmentedScriptSet
impl Display for AugmentedScriptSet
source§impl From<&str> for AugmentedScriptSet
impl From<&str> for AugmentedScriptSet
source§impl From<ScriptExtension> for AugmentedScriptSet
impl From<ScriptExtension> for AugmentedScriptSet
source§fn from(ext: ScriptExtension) -> Self
fn from(ext: ScriptExtension) -> Self
Converts to this type from the input type.
source§impl From<char> for AugmentedScriptSet
impl From<char> for AugmentedScriptSet
source§impl Hash for AugmentedScriptSet
impl Hash for AugmentedScriptSet
source§impl PartialEq for AugmentedScriptSet
impl PartialEq for AugmentedScriptSet
impl Copy for AugmentedScriptSet
impl Eq for AugmentedScriptSet
impl StructuralPartialEq for AugmentedScriptSet
Auto Trait Implementations§
impl Freeze for AugmentedScriptSet
impl RefUnwindSafe for AugmentedScriptSet
impl Send for AugmentedScriptSet
impl Sync for AugmentedScriptSet
impl Unpin for AugmentedScriptSet
impl UnwindSafe for AugmentedScriptSet
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)