pub struct CSSFunctionRule {
pub name: ProtocolValue,
pub styleSheetId: Option<StyleSheetId>,
pub origin: StyleSheetOrigin,
pub parameters: Vec<CSSFunctionParameter>,
pub children: Vec<CSSFunctionNode>,
pub originTreeScopeNodeId: Option<BackendNodeId>,
}Expand description
CSS function at-rule representation.
Fields§
§name: ProtocolValueName of the function.
styleSheetId: Option<StyleSheetId>The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
origin: StyleSheetOriginParent stylesheet’s origin.
parameters: Vec<CSSFunctionParameter>List of parameters.
children: Vec<CSSFunctionNode>Function body.
originTreeScopeNodeId: Option<BackendNodeId>The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
Trait Implementations§
Source§impl Clone for CSSFunctionRule
impl Clone for CSSFunctionRule
Source§fn clone(&self) -> CSSFunctionRule
fn clone(&self) -> CSSFunctionRule
Returns a duplicate 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 CSSFunctionRule
impl Debug for CSSFunctionRule
Source§impl Default for CSSFunctionRule
impl Default for CSSFunctionRule
Source§fn default() -> CSSFunctionRule
fn default() -> CSSFunctionRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CSSFunctionRule
impl<'de> Deserialize<'de> for CSSFunctionRule
Source§fn 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
Auto Trait Implementations§
impl Freeze for CSSFunctionRule
impl RefUnwindSafe for CSSFunctionRule
impl Send for CSSFunctionRule
impl Sync for CSSFunctionRule
impl Unpin for CSSFunctionRule
impl UnsafeUnpin for CSSFunctionRule
impl UnwindSafe for CSSFunctionRule
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