pub struct Tally {
pub standard: Vec<Locus>,
pub subregion: Option<(Locus, Subregion)>,
}Expand description
The partial score carried by an extended hyphenation pattern.
Fields§
§standard: Vec<Locus>The pattern tally, equivalent to that found in standard patterns.
subregion: Option<(Locus, Subregion)>An optional subregion which may replace part of the string around the opportunity.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tally
impl<'de> Deserialize<'de> for Tally
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tally
impl StructuralPartialEq for Tally
Auto Trait Implementations§
impl Freeze for Tally
impl RefUnwindSafe for Tally
impl Send for Tally
impl Sync for Tally
impl Unpin for Tally
impl UnwindSafe for Tally
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