#[repr(C)]pub struct TokenMetadata {
pub text: *const c_char,
pub timestep: c_uint,
pub start_time: f32,
}
Expand description
@brief Stores text of an individual token, along with its timing information
Fields§
§text: *const c_char
The text corresponding to this token
timestep: c_uint
Position of the token in units of 20ms
start_time: f32
Position of the token in seconds
Trait Implementations§
Source§impl Clone for TokenMetadata
impl Clone for TokenMetadata
Source§fn clone(&self) -> TokenMetadata
fn clone(&self) -> TokenMetadata
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 TokenMetadata
impl Debug for TokenMetadata
impl Copy for TokenMetadata
Auto Trait Implementations§
impl Freeze for TokenMetadata
impl RefUnwindSafe for TokenMetadata
impl !Send for TokenMetadata
impl !Sync for TokenMetadata
impl Unpin for TokenMetadata
impl UnwindSafe for TokenMetadata
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