pub struct LangIdOptions {
pub allowed: Option<Vec<String>>,
}Expand description
Per-run language ID parameters.
Fields§
§allowed: Option<Vec<String>>Restrict the decision to these codes or aliases. None means every
label; Some of an empty list is transcribe_cpp::Error::InvalidArgument. An
unknown code is transcribe_cpp::Error::Unsupported.
Trait Implementations§
Source§impl Clone for LangIdOptions
impl Clone for LangIdOptions
Source§impl Debug for LangIdOptions
impl Debug for LangIdOptions
Source§impl Default for LangIdOptions
impl Default for LangIdOptions
impl Eq for LangIdOptions
Source§impl PartialEq for LangIdOptions
impl PartialEq for LangIdOptions
impl StructuralPartialEq for LangIdOptions
Auto Trait Implementations§
impl Forget for LangIdOptions
impl Freeze for LangIdOptions
impl Move for LangIdOptions
impl RefUnwindSafe for LangIdOptions
impl Send for LangIdOptionswhere
RawVecInner: Send,
impl Sync for LangIdOptionswhere
RawVecInner: Sync,
impl Unpin for LangIdOptions
impl UnsafeUnpin for LangIdOptions
impl UnwindSafe for LangIdOptionswhere
RawVecInner: UnwindSafe,
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