pub enum SourceMappingUrl {
Inline(String),
External(String),
}Expand description
Result of parsing a sourceMappingURL reference.
Variants§
Inline(String)
An inline base64 data URI containing the source map JSON.
External(String)
An external URL or relative path to the source map file.
Trait Implementations§
Source§impl Clone for SourceMappingUrl
impl Clone for SourceMappingUrl
Source§fn clone(&self) -> SourceMappingUrl
fn clone(&self) -> SourceMappingUrl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourceMappingUrl
impl Debug for SourceMappingUrl
Source§impl PartialEq for SourceMappingUrl
impl PartialEq for SourceMappingUrl
impl Eq for SourceMappingUrl
impl StructuralPartialEq for SourceMappingUrl
Auto Trait Implementations§
impl Freeze for SourceMappingUrl
impl RefUnwindSafe for SourceMappingUrl
impl Send for SourceMappingUrl
impl Sync for SourceMappingUrl
impl Unpin for SourceMappingUrl
impl UnsafeUnpin for SourceMappingUrl
impl UnwindSafe for SourceMappingUrl
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