pub enum Dependency<'s> {
Show 26 variants
Url {
request: &'s str,
range: Range,
kind: UrlRangeKind,
},
Import {
request: &'s str,
range: Range,
layer: Option<&'s str>,
supports: Option<&'s str>,
media: Option<&'s str>,
},
Replace {
content: &'s str,
range: Range,
},
Charset {
value: &'s str,
range: Range,
},
LocalClass {
name: &'s str,
range: Range,
explicit: bool,
},
LocalId {
name: &'s str,
range: Range,
explicit: bool,
},
LocalVar {
name: &'s str,
range: Range,
from: Option<&'s str>,
},
LocalVarDecl {
name: &'s str,
range: Range,
},
LocalPropertyDecl {
name: &'s str,
range: Range,
},
LocalKeyframes {
name: &'s str,
range: Range,
},
LocalKeyframesDecl {
name: &'s str,
range: Range,
},
LocalCounterStyle {
name: &'s str,
range: Range,
},
LocalCounterStyleDecl {
name: &'s str,
range: Range,
},
LocalFontPalette {
name: &'s str,
range: Range,
},
LocalFontPaletteDecl {
name: &'s str,
range: Range,
},
LocalContainer {
name: &'s str,
range: Range,
},
LocalContainerDecl {
name: &'s str,
range: Range,
},
LocalFunction {
name: &'s str,
range: Range,
},
LocalFunctionDecl {
name: &'s str,
range: Range,
},
LocalGrid {
name: &'s str,
range: Range,
},
LocalGridDecl {
name: &'s str,
range: Range,
},
Composes {
local_classes: SmallVec<[&'s str; 2]>,
names: SmallVec<[&'s str; 2]>,
from: Option<&'s str>,
range: Range,
},
ICSSImportFrom {
path: &'s str,
},
ICSSImportValue {
prop: &'s str,
value: &'s str,
},
ICSSExportValue {
prop: &'s str,
value: &'s str,
},
ICSSSymbol {
name: &'s str,
range: Range,
},
}Variants§
Url
Import
Fields
Replace
Charset
LocalClass
LocalId
LocalVar
LocalVarDecl
LocalPropertyDecl
LocalKeyframes
LocalKeyframesDecl
LocalCounterStyle
LocalCounterStyleDecl
LocalFontPalette
LocalFontPaletteDecl
LocalContainer
LocalContainerDecl
LocalFunction
LocalFunctionDecl
LocalGrid
LocalGridDecl
Composes
Fields
ICSSImportFrom
ICSSImportValue
ICSSExportValue
ICSSSymbol
Trait Implementations§
Source§impl<'s> Clone for Dependency<'s>
impl<'s> Clone for Dependency<'s>
Source§fn clone(&self) -> Dependency<'s>
fn clone(&self) -> Dependency<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for Dependency<'s>
impl<'s> Debug for Dependency<'s>
Source§impl<'s> Hash for Dependency<'s>
impl<'s> Hash for Dependency<'s>
Source§impl<'s> PartialEq for Dependency<'s>
impl<'s> PartialEq for Dependency<'s>
Source§fn eq(&self, other: &Dependency<'s>) -> bool
fn eq(&self, other: &Dependency<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> Eq for Dependency<'s>
impl<'s> StructuralPartialEq for Dependency<'s>
Auto Trait Implementations§
impl<'s> Freeze for Dependency<'s>
impl<'s> RefUnwindSafe for Dependency<'s>
impl<'s> Send for Dependency<'s>
impl<'s> Sync for Dependency<'s>
impl<'s> Unpin for Dependency<'s>
impl<'s> UnsafeUnpin for Dependency<'s>
impl<'s> UnwindSafe for Dependency<'s>
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