pub struct AddRuleParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> AddRuleParamsBuilder<'a>
impl<'a> AddRuleParamsBuilder<'a>
Sourcepub fn nodeForPropertySyntaxValidation(
self,
nodeForPropertySyntaxValidation: NodeId,
) -> Self
pub fn nodeForPropertySyntaxValidation( self, nodeForPropertySyntaxValidation: NodeId, ) -> Self
NodeId for the DOM node in whose context custom property declarations for registered properties should be validated. If omitted, declarations in the new rule text can only be validated statically, which may produce incorrect results if the declaration contains a var() for example.
pub fn build(self) -> AddRuleParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for AddRuleParamsBuilder<'a>
impl<'a> RefUnwindSafe for AddRuleParamsBuilder<'a>
impl<'a> Send for AddRuleParamsBuilder<'a>
impl<'a> Sync for AddRuleParamsBuilder<'a>
impl<'a> Unpin for AddRuleParamsBuilder<'a>
impl<'a> UnsafeUnpin for AddRuleParamsBuilder<'a>
impl<'a> UnwindSafe for AddRuleParamsBuilder<'a>
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