Struct tengwar::characters::tema::Tema
source · pub struct Tema {
pub left: bool,
pub open: bool,
pub single_dn: char,
pub double_dn: char,
pub single_up: char,
pub double_up: char,
pub double_sh: char,
pub single_sh: char,
pub single_ex: char,
pub double_ex: char,
}
Expand description
The Témar are the four series of the regular tengwar. Each Téma is composed of eight Tyeller, each modifying the tengwa in a different way, and is named after its base tengwa.
Only the first six Tyeller are used in Quenya.
Fields§
§left: bool
Whether the bows of these characters face left.
open: bool
Whether the bows of these characters are open.
single_dn: char
A descending stem with one bow.
double_dn: char
A descending stem with two bows.
single_up: char
An ascending stem with one bow.
double_up: char
An ascending stem with two bows.
double_sh: char
A short stem with two bows.
single_sh: char
A short stem with one bow.
single_ex: char
An extended stem with one bow.
double_ex: char
An extended stem with two bows.
Implementations§
source§impl Tema
impl Tema
sourcepub const fn new_tengwa(&self) -> TengwaRegular<'_>
pub const fn new_tengwa(&self) -> TengwaRegular<'_>
Return the TengwaRegular
in this Téma with the default Tyelle
.
sourcepub const fn get_tengwa(&self, tyelle: Tyelle) -> TengwaRegular<'_>
pub const fn get_tengwa(&self, tyelle: Tyelle) -> TengwaRegular<'_>
Return the TengwaRegular
in this Téma at a specified Tyelle
.
Trait Implementations§
impl Copy for Tema
Auto Trait Implementations§
impl RefUnwindSafe for Tema
impl Send for Tema
impl Sync for Tema
impl Unpin for Tema
impl UnwindSafe for Tema
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