Struct jlabel::AccentPhrasePrevNext
source · pub struct AccentPhrasePrevNext {
pub mora_count: u8,
pub accent_position: u8,
pub is_interrogative: bool,
pub is_pause_insertion: Option<bool>,
}
Expand description
AccentPhrase
field of full-context label for previous or next accent phrase (E
and G
field).
E4/G4 is undefined.
Fields§
§mora_count: u8
E1/G1: the number of moras in the accent phrase
accent_position: u8
E2/G2: accent type in the accent phrase
is_interrogative: bool
E3/G3: whether the accent phrase interrogative or not
is_pause_insertion: Option<bool>
E5/G5: whether pause insertion or not in between the accent phrase and the current accent phrase
The logic of this field is inverted from the E5/G5 of full-context label: “1” is false and “0” is true.
Trait Implementations§
source§impl Clone for AccentPhrasePrevNext
impl Clone for AccentPhrasePrevNext
source§fn clone(&self) -> AccentPhrasePrevNext
fn clone(&self) -> AccentPhrasePrevNext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccentPhrasePrevNext
impl Debug for AccentPhrasePrevNext
source§impl<'de> Deserialize<'de> for AccentPhrasePrevNext
impl<'de> Deserialize<'de> for AccentPhrasePrevNext
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
source§impl PartialEq for AccentPhrasePrevNext
impl PartialEq for AccentPhrasePrevNext
source§fn eq(&self, other: &AccentPhrasePrevNext) -> bool
fn eq(&self, other: &AccentPhrasePrevNext) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccentPhrasePrevNext
impl Serialize for AccentPhrasePrevNext
impl Eq for AccentPhrasePrevNext
impl StructuralPartialEq for AccentPhrasePrevNext
Auto Trait Implementations§
impl Freeze for AccentPhrasePrevNext
impl RefUnwindSafe for AccentPhrasePrevNext
impl Send for AccentPhrasePrevNext
impl Sync for AccentPhrasePrevNext
impl Unpin for AccentPhrasePrevNext
impl UnwindSafe for AccentPhrasePrevNext
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