pub enum SourceFileType {
Source,
MinifiedSource,
SourceMap,
IndexedRamBundle,
}
Expand description
The type of a SourceFileInfo
.
Variants§
Source
Regular source file.
MinifiedSource
Minified source code.
SourceMap
JavaScript sourcemap.
IndexedRamBundle
Indexed JavaScript RAM bundle.
Trait Implementations§
Source§impl Clone for SourceFileType
impl Clone for SourceFileType
Source§fn clone(&self) -> SourceFileType
fn clone(&self) -> SourceFileType
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 SourceFileType
impl Debug for SourceFileType
Source§impl<'de> Deserialize<'de> for SourceFileType
impl<'de> Deserialize<'de> for SourceFileType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SourceFileType
impl Hash for SourceFileType
Source§impl Ord for SourceFileType
impl Ord for SourceFileType
Source§fn cmp(&self, other: &SourceFileType) -> Ordering
fn cmp(&self, other: &SourceFileType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SourceFileType
impl PartialEq for SourceFileType
Source§impl PartialOrd for SourceFileType
impl PartialOrd for SourceFileType
Source§impl Serialize for SourceFileType
impl Serialize for SourceFileType
impl Copy for SourceFileType
impl Eq for SourceFileType
impl StructuralPartialEq for SourceFileType
Auto Trait Implementations§
impl Freeze for SourceFileType
impl RefUnwindSafe for SourceFileType
impl Send for SourceFileType
impl Sync for SourceFileType
impl Unpin for SourceFileType
impl UnwindSafe for SourceFileType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more