pub struct OwnedMetadata(/* private fields */);
Expand description
An owned variant of Metadata
.
Implementations§
Source§impl OwnedMetadata
impl OwnedMetadata
Sourcepub fn transcripts(&self) -> &[OwnedCandidateTranscript]
pub fn transcripts(&self) -> &[OwnedCandidateTranscript]
Return an array of possible transcriptions.
Sourcepub fn num_transcripts(&self) -> u32
pub fn num_transcripts(&self) -> u32
Size of the transcripts array
Sourcepub fn into_inner(self) -> Vec<OwnedCandidateTranscript>
pub fn into_inner(self) -> Vec<OwnedCandidateTranscript>
Return the inner
Vec<
OwnedCandidateTranscript
>
this data owns.
Auto Trait Implementations§
impl Freeze for OwnedMetadata
impl RefUnwindSafe for OwnedMetadata
impl Send for OwnedMetadata
impl Sync for OwnedMetadata
impl Unpin for OwnedMetadata
impl UnwindSafe for OwnedMetadata
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