pub enum LoadTailwind {
Inline {
css: &'static str,
},
Loaded {
path: String,
},
Jit {
config: &'static str,
jit_url: &'static str,
},
}
Expand description
the result of the load_tailwind!
macro
Variants§
Inline
expands to
<style>
/* styles generated by tailwind */
</style>
Loaded
expands to
<link rel="stylesheet" type="text/css" href="{path}">
Jit
expands to
<script src="{jit_url}"></script>
<script>
tailwind.config = {
...config
}
</script>
Trait Implementations§
Source§impl Debug for LoadTailwind
impl Debug for LoadTailwind
Auto Trait Implementations§
impl Freeze for LoadTailwind
impl RefUnwindSafe for LoadTailwind
impl Send for LoadTailwind
impl Sync for LoadTailwind
impl Unpin for LoadTailwind
impl UnwindSafe for LoadTailwind
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