pub struct ContainerQueryContainerHighlightConfigBuilder { /* private fields */ }Expand description
Builder for ContainerQueryContainerHighlightConfig.
Implementations§
Source§impl ContainerQueryContainerHighlightConfigBuilder
impl ContainerQueryContainerHighlightConfigBuilder
Sourcepub fn container_border<VALUE: Into<LineStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn container_border<VALUE: Into<LineStyle>>( &mut self, value: VALUE, ) -> &mut Self
The style of the container border.
Sourcepub fn descendant_border<VALUE: Into<LineStyle>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn descendant_border<VALUE: Into<LineStyle>>( &mut self, value: VALUE, ) -> &mut Self
The style of the descendants’ borders.
Sourcepub fn build(
&self,
) -> Result<ContainerQueryContainerHighlightConfig, ContainerQueryContainerHighlightConfigBuilderError>
pub fn build( &self, ) -> Result<ContainerQueryContainerHighlightConfig, ContainerQueryContainerHighlightConfigBuilderError>
Builds a new ContainerQueryContainerHighlightConfig.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for ContainerQueryContainerHighlightConfigBuilder
impl Clone for ContainerQueryContainerHighlightConfigBuilder
Source§fn clone(&self) -> ContainerQueryContainerHighlightConfigBuilder
fn clone(&self) -> ContainerQueryContainerHighlightConfigBuilder
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 ContainerQueryContainerHighlightConfigBuilder
impl RefUnwindSafe for ContainerQueryContainerHighlightConfigBuilder
impl Send for ContainerQueryContainerHighlightConfigBuilder
impl Sync for ContainerQueryContainerHighlightConfigBuilder
impl Unpin for ContainerQueryContainerHighlightConfigBuilder
impl UnsafeUnpin for ContainerQueryContainerHighlightConfigBuilder
impl UnwindSafe for ContainerQueryContainerHighlightConfigBuilder
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