pub struct AutoDetectSourceLanguageConfig {
pub handle: SmartHandle<SPXAUTODETECTSOURCELANGCONFIGHANDLE>,
pub properties: PropertyCollection,
}
Expand description
AutoDetectSourceLanguageConfig defines auto detection source configuration
Fields
handle: SmartHandle<SPXAUTODETECTSOURCELANGCONFIGHANDLE>
properties: PropertyCollection
Implementations
sourceimpl 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 RefUnwindSafe for AutoDetectSourceLanguageConfig
impl Send for AutoDetectSourceLanguageConfig
impl !Sync for AutoDetectSourceLanguageConfig
impl Unpin for AutoDetectSourceLanguageConfig
impl UnwindSafe for AutoDetectSourceLanguageConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more