Skip to main content

SpeechModelRef

Type Alias SpeechModelRef 

Source
pub type SpeechModelRef = ModelRef<dyn DynSpeechModel>;
Expand description

Shared reference to a speech model (or an unresolved model id).

Aliased Type§

pub struct SpeechModelRef(/* private fields */);

Trait Implementations§

Source§

impl<T: SpeechModel> From<Arc<T>> for SpeechModelRef

Source§

fn from(model: Arc<T>) -> Self

Converts to this type from the input type.
Source§

impl<T: SpeechModel> From<T> for SpeechModelRef

Source§

fn from(model: T) -> Self

Converts to this type from the input type.