pub struct AutoDetectSourceLanguageConfig {
pub handle: SmartHandle<SPXAUTODETECTSOURCELANGCONFIGHANDLE>,
pub properties: PropertyCollection,
}Expand description
AutoDetectSourceLanguageConfig defines auto detection source configuration
Fields§
§handle: SmartHandle<SPXAUTODETECTSOURCELANGCONFIGHANDLE>§properties: PropertyCollectionImplementations§
Source§impl AutoDetectSourceLanguageConfig
impl AutoDetectSourceLanguageConfig
Sourcepub fn from_languages(languages: Vec<String>) -> Result<Self>
pub fn from_languages(languages: Vec<String>) -> Result<Self>
Creates an instance of the AutoDetectSourceLanguageConfig with source languages.
Sourcepub fn from_language_configs(
languages: Vec<SourceLanguageConfig>,
) -> Result<Self>
pub fn from_language_configs( languages: Vec<SourceLanguageConfig>, ) -> Result<Self>
Creates an instance of the AutoDetectSourceLanguageConfig with a list of source language config
Sourcepub fn from_open_range() -> Result<Self>
pub fn from_open_range() -> Result<Self>
Creates an instance of the AutoDetectSourceLanguageConfig with open range as source languages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoDetectSourceLanguageConfig
impl RefUnwindSafe for AutoDetectSourceLanguageConfig
impl Send for AutoDetectSourceLanguageConfig
impl !Sync for AutoDetectSourceLanguageConfig
impl Unpin for AutoDetectSourceLanguageConfig
impl UnsafeUnpin for AutoDetectSourceLanguageConfig
impl UnwindSafe for AutoDetectSourceLanguageConfig
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