pub struct BreathGroup {
pub accent_phrases: Vec<AccentPhrase>,
}
Fields§
§accent_phrases: Vec<AccentPhrase>
Implementations§
Source§impl BreathGroup
impl BreathGroup
pub fn new(accent_phrases: Vec<AccentPhrase>) -> Self
pub fn to_h(&self) -> BreathGroupPrevNext
pub fn to_i( &self, breath_group_count_in_utterance: usize, breath_group_index_in_utterance: usize, accent_phrase_count_in_utterance: usize, accent_phrase_index_in_utterance: usize, mora_count_in_utterance: usize, mora_index_in_utterance: usize, ) -> BreathGroupCurrent
pub fn to_j(&self) -> BreathGroupPrevNext
pub fn count_accent_phrase(&self) -> usize
pub fn count_mora(&self) -> usize
Trait Implementations§
Source§impl Clone for BreathGroup
impl Clone for BreathGroup
Source§fn clone(&self) -> BreathGroup
fn clone(&self) -> BreathGroup
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BreathGroup
impl RefUnwindSafe for BreathGroup
impl Send for BreathGroup
impl Sync for BreathGroup
impl Unpin for BreathGroup
impl UnwindSafe for BreathGroup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more