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