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 Error::InvalidArgument. An
unknown code is 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 Freeze 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