pub enum LangTypes {
One(LangType),
Two {
first: LangType,
second: LangType,
},
}Expand description
In some cases, client can use two languages for same LangType. One example is Leptos in Rust, where template and backend have same file extension(‘rs’).
Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for LangTypes
impl RefUnwindSafe for LangTypes
impl Send for LangTypes
impl Sync for LangTypes
impl Unpin for LangTypes
impl UnsafeUnpin for LangTypes
impl UnwindSafe for LangTypes
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