pub enum As {
Show 22 variants
Fetch,
Audio,
AudioWorklet,
Document,
Embed,
Font,
Frame,
IFrame,
Image,
Manifest,
Object,
PaintWorklet,
Report,
Script,
ServiceWorker,
SharedWorker,
Style,
Track,
Video,
WebIdentity,
Worker,
Xslt,
}Expand description
Type of resource being preloaded.
Variants§
Fetch
Audio
AudioWorklet
Document
Embed
Font
Frame
IFrame
Image
Manifest
Object
PaintWorklet
Report
Script
ServiceWorker
Style
Track
Video
WebIdentity
Worker
Xslt
Trait Implementations§
Source§impl Attributes for As
impl Attributes for As
Source§impl Ord for As
impl Ord for As
Source§impl PartialOrd for As
impl PartialOrd for As
impl Eq for As
impl StructuralPartialEq for As
Auto Trait Implementations§
impl Freeze for As
impl RefUnwindSafe for As
impl Send for As
impl Sync for As
impl Unpin for As
impl UnwindSafe for As
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