Enum sourcemap::SourceMapRef [] [src]

pub enum SourceMapRef {
    Ref(String),
    LegacyRef(String),
    Missing,
}

Represents a reference to a sourcemap

Variants

A regular URL reference

A legacy URL reference

Indicates a missing reference

Methods

impl SourceMapRef
[src]

Return the URL of the reference

Load an embedded sourcemap if there is a data URL.

Trait Implementations

impl PartialEq for SourceMapRef
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for SourceMapRef
[src]

Formats the value using the given formatter.