Struct preserves_schema::compiler::LanguageTypes
source · pub struct LanguageTypes {
pub fallback: Option<Box<dyn Fn(&str) -> Set<String>>>,
pub definitions: Map<String, Box<dyn Fn(&str) -> Set<String>>>,
}
Fields§
§fallback: Option<Box<dyn Fn(&str) -> Set<String>>>
§definitions: Map<String, Box<dyn Fn(&str) -> Set<String>>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LanguageTypes
impl !RefUnwindSafe for LanguageTypes
impl !Send for LanguageTypes
impl !Sync for LanguageTypes
impl Unpin for LanguageTypes
impl !UnwindSafe for LanguageTypes
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