Skip to main content

SpeechTranslationModelRef

Type Alias SpeechTranslationModelRef 

Source
pub type SpeechTranslationModelRef = ModelRef<dyn DynSpeechTranslationModel>;
Expand description

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

Aliased Type§

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

Trait Implementations§

Source§

impl<T: SpeechTranslationModel> From<Arc<T>> for SpeechTranslationModelRef

Source§

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

Converts to this type from the input type.
Source§

impl<T: SpeechTranslationModel> From<T> for SpeechTranslationModelRef

Source§

fn from(model: T) -> Self

Converts to this type from the input type.