pub struct CssLayerDataBuilder { /* private fields */ }Expand description
Builder for CssLayerData.
Implementations§
Source§impl CssLayerDataBuilder
impl CssLayerDataBuilder
Sourcepub fn sub_layers<VALUE: Into<Vec<CssLayerData>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn sub_layers<VALUE: Into<Vec<CssLayerData>>>( &mut self, value: VALUE, ) -> &mut Self
Direct sub-layers
Sourcepub fn order<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn order<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Layer order. The order determines the order of the layer in the cascade order. A higher number has higher priority in the cascade order.
Sourcepub fn build(&self) -> Result<CssLayerData, CssLayerDataBuilderError>
pub fn build(&self) -> Result<CssLayerData, CssLayerDataBuilderError>
Trait Implementations§
Source§impl Clone for CssLayerDataBuilder
impl Clone for CssLayerDataBuilder
Source§fn clone(&self) -> CssLayerDataBuilder
fn clone(&self) -> CssLayerDataBuilder
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 CssLayerDataBuilder
impl RefUnwindSafe for CssLayerDataBuilder
impl Send for CssLayerDataBuilder
impl Sync for CssLayerDataBuilder
impl Unpin for CssLayerDataBuilder
impl UnsafeUnpin for CssLayerDataBuilder
impl UnwindSafe for CssLayerDataBuilder
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