Struct tengwar::characters::Glyph [−][src]
Fields
cons: Option<char>
A consonant character.
vowel: Option<Tehta>
A diacritical vowel to modify the consonant.
silme: bool
If Silmë follows another tengwa, the base character may be modified by a sa-rincë instead.
nasal: bool
A labialized consonant is represented by an additional diacritic.
labial: bool
A labialized consonant is represented by an additional diacritic.
palatal: bool
A palatalized vowel is represented by an additional diacritic.
long_cons: bool
long_vowel: bool
long_first: bool
Indicates whether a long vowel using the extended “Ára” Telco should be placed before this glyph.
Implementations
impl Glyph
[src]
pub const fn new() -> Self
[src]
pub const fn new_both(cons: char, vowel: Tehta) -> Self
[src]
pub const fn new_cons(cons: char, long: bool) -> Self
[src]
pub const fn new_vowel(vowel: Tehta, long: bool) -> Self
[src]
pub const fn with_labial(self) -> Self
[src]
pub const fn with_nasal(self) -> Self
[src]
pub const fn with_palatal(self) -> Self
[src]
pub const fn with_silme(self) -> Self
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Glyph
impl Send for Glyph
impl Sync for Glyph
impl Unpin for Glyph
impl UnwindSafe for Glyph
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,