#[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_charThe text corresponding to this token
timestep: c_uintPosition of the token in units of 20ms
start_time: f32Position 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 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 moreimpl Copy for TokenMetadata
Auto Trait Implementations§
impl !Send for TokenMetadata
impl !Sync for TokenMetadata
impl Freeze for TokenMetadata
impl RefUnwindSafe for TokenMetadata
impl Unpin for TokenMetadata
impl UnsafeUnpin 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