pub enum Dependency<'s> {
Show 18 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,
},
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,
},
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,
},
}
Variants§
Url
Import
Fields
Replace
LocalClass
LocalId
LocalVar
LocalVarDecl
LocalPropertyDecl
LocalKeyframes
LocalKeyframesDecl
LocalCounterStyle
LocalCounterStyleDecl
LocalFontPalette
LocalFontPaletteDecl
Composes
Fields
ICSSImportFrom
ICSSImportValue
ICSSExportValue
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 copy 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<'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>
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> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)