[−][src]Struct ucd_parse::SpecialCaseMapping
A single row in the SpecialCasing.txt
file.
Note that a single codepoint may be mapped multiple times. In particular,
a single codepoint might have mappings based on distinct language sensitive
conditions (e.g., U+0307
).
Fields
codepoint: Codepoint
The codepoint that is being mapped.
lowercase: Vec<Codepoint>
The lowercase mapping, which may be empty.
titlecase: Vec<Codepoint>
The titlecase mapping, which may be empty.
uppercase: Vec<Codepoint>
The uppercase mapping, which may be empty.
conditions: Vec<String>
A list of language specific conditions, see SpecialCasing.txt
for
more details.
Trait Implementations
impl Clone for SpecialCaseMapping
[src]
fn clone(&self) -> SpecialCaseMapping
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SpecialCaseMapping
[src]
impl Default for SpecialCaseMapping
[src]
fn default() -> SpecialCaseMapping
[src]
impl Eq for SpecialCaseMapping
[src]
impl FromStr for SpecialCaseMapping
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(line: &str) -> Result<SpecialCaseMapping, Error>
[src]
impl PartialEq<SpecialCaseMapping> for SpecialCaseMapping
[src]
fn eq(&self, other: &SpecialCaseMapping) -> bool
[src]
fn ne(&self, other: &SpecialCaseMapping) -> bool
[src]
impl StructuralEq for SpecialCaseMapping
[src]
impl StructuralPartialEq for SpecialCaseMapping
[src]
impl UcdFile for SpecialCaseMapping
[src]
fn relative_file_path() -> &'static Path
[src]
fn file_path<P: AsRef<Path>>(ucd_dir: P) -> PathBuf
[src]
fn from_dir<P: AsRef<Path>>(
ucd_dir: P
) -> Result<UcdLineParser<File, Self>, Error>
[src]
ucd_dir: P
) -> Result<UcdLineParser<File, Self>, Error>
impl UcdFileByCodepoint for SpecialCaseMapping
[src]
ⓘImportant traits for CodepointIterfn codepoints(&self) -> CodepointIter
[src]
ⓘImportant traits for CodepointIter
Auto Trait Implementations
impl RefUnwindSafe for SpecialCaseMapping
impl Send for SpecialCaseMapping
impl Sync for SpecialCaseMapping
impl Unpin for SpecialCaseMapping
impl UnwindSafe for SpecialCaseMapping
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>,