Struct swc_css_ast::ImportPrelude
source · [−]pub struct ImportPrelude {
pub span: Span,
pub href: ImportPreludeHref,
pub layer_name: Option<ImportPreludeLayerName>,
pub supports: Option<ImportPreludeSupportsType>,
pub media: Option<MediaQueryList>,
}
Fields
span: Span
href: ImportPreludeHref
layer_name: Option<ImportPreludeLayerName>
supports: Option<ImportPreludeSupportsType>
media: Option<MediaQueryList>
Trait Implementations
sourceimpl Clone for ImportPrelude
impl Clone for ImportPrelude
sourcefn clone(&self) -> ImportPrelude
fn clone(&self) -> ImportPrelude
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ImportPrelude
impl Debug for ImportPrelude
sourceimpl<'de> Deserialize<'de> for ImportPrelude
impl<'de> Deserialize<'de> for ImportPrelude
sourcefn 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
sourceimpl EqIgnoreSpan for ImportPrelude
impl EqIgnoreSpan for ImportPrelude
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<ImportPrelude> for AtRulePrelude
impl From<ImportPrelude> for AtRulePrelude
sourcefn from(v: ImportPrelude) -> Self
fn from(v: ImportPrelude) -> Self
Converts to this type from the input type.
sourceimpl Hash for ImportPrelude
impl Hash for ImportPrelude
sourceimpl PartialEq<ImportPrelude> for ImportPrelude
impl PartialEq<ImportPrelude> for ImportPrelude
sourcefn eq(&self, other: &ImportPrelude) -> bool
fn eq(&self, other: &ImportPrelude) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for ImportPrelude
impl Serialize for ImportPrelude
sourceimpl Spanned for ImportPrelude
impl Spanned for ImportPrelude
impl Eq for ImportPrelude
impl StructuralEq for ImportPrelude
impl StructuralPartialEq for ImportPrelude
Auto Trait Implementations
impl RefUnwindSafe for ImportPrelude
impl Send for ImportPrelude
impl Sync for ImportPrelude
impl Unpin for ImportPrelude
impl UnwindSafe for ImportPrelude
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more