Struct swc_css_ast::ImportPrelude
source · [−]pub struct ImportPrelude {
pub span: Span,
pub href: Box<ImportPreludeHref>,
pub layer_name: Option<Box<ImportPreludeLayerName>>,
pub supports: Option<Box<ImportPreludeSupportsType>>,
pub media: Option<Box<MediaQueryList>>,
}
Fields
span: Span
href: Box<ImportPreludeHref>
layer_name: Option<Box<ImportPreludeLayerName>>
supports: Option<Box<ImportPreludeSupportsType>>
media: Option<Box<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 moresourceimpl 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
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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