pub struct CssComputedStylePropertyBuilder { /* private fields */ }
Implementations§
source§impl CssComputedStylePropertyBuilder
impl CssComputedStylePropertyBuilder
pub fn name(self, name: impl Into<String>) -> CssComputedStylePropertyBuilder
pub fn value(self, value: impl Into<String>) -> CssComputedStylePropertyBuilder
pub fn build(self) -> Result<CssComputedStyleProperty, String>
Trait Implementations§
source§impl Clone for CssComputedStylePropertyBuilder
impl Clone for CssComputedStylePropertyBuilder
source§fn clone(&self) -> CssComputedStylePropertyBuilder
fn clone(&self) -> CssComputedStylePropertyBuilder
Returns a copy 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 Default for CssComputedStylePropertyBuilder
impl Default for CssComputedStylePropertyBuilder
source§fn default() -> CssComputedStylePropertyBuilder
fn default() -> CssComputedStylePropertyBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CssComputedStylePropertyBuilder
impl RefUnwindSafe for CssComputedStylePropertyBuilder
impl Send for CssComputedStylePropertyBuilder
impl Sync for CssComputedStylePropertyBuilder
impl Unpin 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