Struct parcel_css::dependencies::ImportDependency
source · [−]pub struct ImportDependency {
pub url: String,
pub supports: Option<String>,
pub media: Option<String>,
pub loc: SourceRange,
}
Fields
url: String
supports: Option<String>
media: Option<String>
loc: SourceRange
Implementations
sourceimpl ImportDependency
impl ImportDependency
pub fn new(rule: &ImportRule<'_>, filename: &str) -> ImportDependency
Trait Implementations
sourceimpl Serialize for ImportDependency
impl Serialize for ImportDependency
Auto Trait Implementations
impl RefUnwindSafe for ImportDependency
impl Send for ImportDependency
impl Sync for ImportDependency
impl Unpin for ImportDependency
impl UnwindSafe for ImportDependency
Blanket Implementations
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more