Struct jmdict::ReadingElement[][src]

pub struct ReadingElement {
    pub text: &'static str,
    pub priority: Priority,
    // some fields omitted
}

A representation of a dictionary entry using only kana.

Each Entry will have zero or more of these. When an entry has both kanji elements and reading elements, the kana usage will be consistent between them, that is: If the kanji element contains katakana, there is also a corresponding reading element that contains katakana as well.

Fields

text: &'static strpriority: Priority

Implementations

impl ReadingElement[src]

pub fn infos(&self) -> ReadingInfos

Notable traits for ReadingInfos

impl Iterator for ReadingInfos type Item = ReadingInfo;
[src]

Trait Implementations

impl Clone for ReadingElement[src]

impl Copy for ReadingElement[src]

impl Debug for ReadingElement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.