Struct swc_css_ast::DocumentPrelude
source · pub struct DocumentPrelude {
pub span: Span,
pub matching_functions: Vec<DocumentPreludeMatchingFunction>,
}
Fields§
§span: Span
§matching_functions: Vec<DocumentPreludeMatchingFunction>
Trait Implementations§
source§impl Clone for DocumentPrelude
impl Clone for DocumentPrelude
source§fn clone(&self) -> DocumentPrelude
fn clone(&self) -> DocumentPrelude
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 Debug for DocumentPrelude
impl Debug for DocumentPrelude
source§impl EqIgnoreSpan for DocumentPrelude
impl EqIgnoreSpan for DocumentPrelude
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl From<DocumentPrelude> for AtRulePrelude
impl From<DocumentPrelude> for AtRulePrelude
source§fn from(v: DocumentPrelude) -> Self
fn from(v: DocumentPrelude) -> Self
Converts to this type from the input type.
source§impl Hash for DocumentPrelude
impl Hash for DocumentPrelude
source§impl PartialEq<DocumentPrelude> for DocumentPrelude
impl PartialEq<DocumentPrelude> for DocumentPrelude
source§fn eq(&self, other: &DocumentPrelude) -> bool
fn eq(&self, other: &DocumentPrelude) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Spanned for DocumentPrelude
impl Spanned for DocumentPrelude
impl Eq for DocumentPrelude
impl StructuralEq for DocumentPrelude
impl StructuralPartialEq for DocumentPrelude
Auto Trait Implementations§
impl RefUnwindSafe for DocumentPrelude
impl Send for DocumentPrelude
impl Sync for DocumentPrelude
impl Unpin for DocumentPrelude
impl UnwindSafe for DocumentPrelude
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