[−][src]Struct ucd_parse::CaseFold
A single row in the CaseFolding.txt file.
The contents of CaseFolding.txt are a convenience derived from both
UnicodeData.txt and SpecialCasing.txt.
Note that a single codepoint may be mapped multiple times. In particular,
a single codepoint might have distinct CaseStatus::Simple and
CaseStatus::Full mappings.
Fields
codepoint: CodepointThe codepoint that is being mapped.
status: CaseStatusThe case status of this mapping.
mapping: Vec<Codepoint>The actual case mapping, which is more than one codepoint if this is a "full" mapping.
Trait Implementations
impl Clone for CaseFold[src]
impl Debug for CaseFold[src]
impl Default for CaseFold[src]
impl Eq for CaseFold[src]
impl FromStr for CaseFold[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(line: &str) -> Result<CaseFold, Error>[src]
impl PartialEq<CaseFold> for CaseFold[src]
impl StructuralEq for CaseFold[src]
impl StructuralPartialEq for CaseFold[src]
impl UcdFile for CaseFold[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 CaseFold[src]
fn codepoints(&self) -> CodepointIter[src]
Auto Trait Implementations
impl RefUnwindSafe for CaseFold
impl Send for CaseFold
impl Sync for CaseFold
impl Unpin for CaseFold
impl UnwindSafe for CaseFold
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>,