pub struct CssComputedStylePropertyBuilder { /* private fields */ }Expand description
Builder for CssComputedStyleProperty.
Implementations§
Source§impl CssComputedStylePropertyBuilder
impl CssComputedStylePropertyBuilder
Sourcepub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Computed style property name.
Sourcepub fn value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn value<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Computed style property value.
Sourcepub fn build(
&self,
) -> Result<CssComputedStyleProperty, CssComputedStylePropertyBuilderError>
pub fn build( &self, ) -> Result<CssComputedStyleProperty, CssComputedStylePropertyBuilderError>
Trait Implementations§
Source§impl Clone for CssComputedStylePropertyBuilder
impl Clone for CssComputedStylePropertyBuilder
Source§fn clone(&self) -> CssComputedStylePropertyBuilder
fn clone(&self) -> CssComputedStylePropertyBuilder
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 moreAuto Trait Implementations§
impl Freeze for CssComputedStylePropertyBuilder
impl RefUnwindSafe for CssComputedStylePropertyBuilder
impl Send for CssComputedStylePropertyBuilder
impl Sync for CssComputedStylePropertyBuilder
impl Unpin for CssComputedStylePropertyBuilder
impl UnsafeUnpin for CssComputedStylePropertyBuilder
impl UnwindSafe for CssComputedStylePropertyBuilder
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