pub struct SetStyleTextsParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> SetStyleTextsParamsBuilder<'a>
impl<'a> SetStyleTextsParamsBuilder<'a>
Sourcepub fn node_for_property_syntax_validation(
self,
node_for_property_syntax_validation: NodeId,
) -> Self
pub fn node_for_property_syntax_validation( self, node_for_property_syntax_validation: 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) -> SetStyleTextsParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetStyleTextsParamsBuilder<'a>
impl<'a> RefUnwindSafe for SetStyleTextsParamsBuilder<'a>
impl<'a> Send for SetStyleTextsParamsBuilder<'a>
impl<'a> Sync for SetStyleTextsParamsBuilder<'a>
impl<'a> Unpin for SetStyleTextsParamsBuilder<'a>
impl<'a> UnsafeUnpin for SetStyleTextsParamsBuilder<'a>
impl<'a> UnwindSafe for SetStyleTextsParamsBuilder<'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