pub struct FlexNodeHighlightConfigBuilder { /* private fields */ }Expand description
Builder for FlexNodeHighlightConfig.
Implementations§
Source§impl FlexNodeHighlightConfigBuilder
impl FlexNodeHighlightConfigBuilder
Sourcepub fn flex_container_highlight_config<VALUE: Into<FlexContainerHighlightConfig>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn flex_container_highlight_config<VALUE: Into<FlexContainerHighlightConfig>>( &mut self, value: VALUE, ) -> &mut Self
A descriptor for the highlight appearance of flex containers.
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Identifier of the node to highlight.
Sourcepub fn build(
&self,
) -> Result<FlexNodeHighlightConfig, FlexNodeHighlightConfigBuilderError>
pub fn build( &self, ) -> Result<FlexNodeHighlightConfig, FlexNodeHighlightConfigBuilderError>
Trait Implementations§
Source§impl Clone for FlexNodeHighlightConfigBuilder
impl Clone for FlexNodeHighlightConfigBuilder
Source§fn clone(&self) -> FlexNodeHighlightConfigBuilder
fn clone(&self) -> FlexNodeHighlightConfigBuilder
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 FlexNodeHighlightConfigBuilder
impl RefUnwindSafe for FlexNodeHighlightConfigBuilder
impl Send for FlexNodeHighlightConfigBuilder
impl Sync for FlexNodeHighlightConfigBuilder
impl Unpin for FlexNodeHighlightConfigBuilder
impl UnsafeUnpin for FlexNodeHighlightConfigBuilder
impl UnwindSafe for FlexNodeHighlightConfigBuilder
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