pub struct ResolveValuesParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> ResolveValuesParamsBuilder<'a>
impl<'a> ResolveValuesParamsBuilder<'a>
Sourcepub fn property_name(self, property_name: impl Into<Cow<'a, str>>) -> Self
pub fn property_name(self, property_name: impl Into<Cow<'a, str>>) -> Self
Only longhands and custom property names are accepted.
Sourcepub fn pseudo_type(self, pseudo_type: PseudoType) -> Self
pub fn pseudo_type(self, pseudo_type: PseudoType) -> Self
Pseudo element type, only works for pseudo elements that generate elements in the tree, such as ::before and ::after.
Sourcepub fn pseudo_identifier(
self,
pseudo_identifier: impl Into<Cow<'a, str>>,
) -> Self
pub fn pseudo_identifier( self, pseudo_identifier: impl Into<Cow<'a, str>>, ) -> Self
Pseudo element custom ident.
pub fn build(self) -> ResolveValuesParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResolveValuesParamsBuilder<'a>
impl<'a> RefUnwindSafe for ResolveValuesParamsBuilder<'a>
impl<'a> Send for ResolveValuesParamsBuilder<'a>
impl<'a> Sync for ResolveValuesParamsBuilder<'a>
impl<'a> Unpin for ResolveValuesParamsBuilder<'a>
impl<'a> UnsafeUnpin for ResolveValuesParamsBuilder<'a>
impl<'a> UnwindSafe for ResolveValuesParamsBuilder<'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