pub struct Preload {
pub href: String,
pub as_: String,
pub mime: Option<String>,
pub crossorigin: bool,
}Fields§
§href: String§as_: Stringfont, image, style, script, fetch.
mime: Option<String>§crossorigin: boolTrait Implementations§
impl Eq for Preload
impl StructuralPartialEq for Preload
Auto Trait Implementations§
impl Forget for Preload
impl Freeze for Preload
impl Move for Preload
impl RefUnwindSafe for Preload
impl Send for Preload
impl Sync for Preload
impl Unpin for Preload
impl UnsafeUnpin for Preload
impl UnwindSafe for Preload
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