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§fn clone(&self) -> LangIdOptions
fn clone(&self) -> LangIdOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LangIdOptions
impl Debug for LangIdOptions
Source§impl Default for LangIdOptions
impl Default for LangIdOptions
Source§fn default() -> LangIdOptions
fn default() -> LangIdOptions
Returns the “default value” for a type. Read more
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 LangIdOptions
impl Sync for LangIdOptions
impl Unpin for LangIdOptions
impl UnsafeUnpin for LangIdOptions
impl UnwindSafe for LangIdOptions
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