pub struct AlignedWord {
pub word: String,
pub success: bool,
pub start_s: f64,
pub end_s: f64,
pub p_align: f64,
}Expand description
One force-aligned word from the flat aligned_words list.
success is Suno’s per-word alignment flag (it can be false where forced
alignment failed) and p_align its confidence; both are carried so callers
can gate on them, though the line-level AlignedLine::words is preferred
for rendering because it already reflects Suno’s own line grouping.
Fields§
§word: String§success: bool§start_s: f64§end_s: f64§p_align: f64Trait Implementations§
Source§impl Clone for AlignedWord
impl Clone for AlignedWord
Source§fn clone(&self) -> AlignedWord
fn clone(&self) -> AlignedWord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AlignedWord
impl Debug for AlignedWord
Source§impl PartialEq for AlignedWord
impl PartialEq for AlignedWord
Source§fn eq(&self, other: &AlignedWord) -> bool
fn eq(&self, other: &AlignedWord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlignedWord
Auto Trait Implementations§
impl Freeze for AlignedWord
impl RefUnwindSafe for AlignedWord
impl Send for AlignedWord
impl Sync for AlignedWord
impl Unpin for AlignedWord
impl UnsafeUnpin for AlignedWord
impl UnwindSafe for AlignedWord
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