pub enum Asset<'a> {
CSS(&'a str),
HTML(&'a str),
JSON(&'a str),
JS(&'a str),
}Variants§
Auto Trait Implementations§
impl<'a> Freeze for Asset<'a>
impl<'a> RefUnwindSafe for Asset<'a>
impl<'a> Send for Asset<'a>
impl<'a> Sync for Asset<'a>
impl<'a> Unpin for Asset<'a>
impl<'a> UnwindSafe for Asset<'a>
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