Struct swc_css_ast::Function
source · [−]pub struct Function {
pub span: Span,
pub name: Ident,
pub value: Vec<ComponentValue>,
}
Fields
span: Span
Span starting from the lo
of identifier and to the end of )
.
name: Ident
value: Vec<ComponentValue>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Function
impl<'de> Deserialize<'de> for Function
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 Function
impl EqIgnoreSpan for Function
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<Function> for AbsoluteColorBase
impl From<Function> for AbsoluteColorBase
sourceimpl From<Function> for CmykComponent
impl From<Function> for CmykComponent
sourceimpl From<Function> for ComponentValue
impl From<Function> for ComponentValue
sourceimpl From<Function> for GeneralEnclosed
impl From<Function> for GeneralEnclosed
sourceimpl From<Function> for ImportPreludeLayerName
impl From<Function> for ImportPreludeLayerName
sourceimpl From<Function> for MediaFeatureValue
impl From<Function> for MediaFeatureValue
sourceimpl From<Function> for SupportsFeature
impl From<Function> for SupportsFeature
sourceimpl From<Function> for UrlModifier
impl From<Function> for UrlModifier
impl Eq for Function
impl StructuralEq for Function
impl StructuralPartialEq for Function
Auto Trait Implementations
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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