pub struct IsolatedElementHighlightConfigBuilder { /* private fields */ }Expand description
Builder for IsolatedElementHighlightConfig.
Implementations§
Source§impl IsolatedElementHighlightConfigBuilder
impl IsolatedElementHighlightConfigBuilder
Sourcepub fn isolation_mode_highlight_config<VALUE: Into<IsolationModeHighlightConfig>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn isolation_mode_highlight_config<VALUE: Into<IsolationModeHighlightConfig>>( &mut self, value: VALUE, ) -> &mut Self
A descriptor for the highlight appearance of an element in isolation mode.
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 isolated element to highlight.
Sourcepub fn build(
&self,
) -> Result<IsolatedElementHighlightConfig, IsolatedElementHighlightConfigBuilderError>
pub fn build( &self, ) -> Result<IsolatedElementHighlightConfig, IsolatedElementHighlightConfigBuilderError>
Trait Implementations§
Source§impl Clone for IsolatedElementHighlightConfigBuilder
impl Clone for IsolatedElementHighlightConfigBuilder
Source§fn clone(&self) -> IsolatedElementHighlightConfigBuilder
fn clone(&self) -> IsolatedElementHighlightConfigBuilder
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 IsolatedElementHighlightConfigBuilder
impl RefUnwindSafe for IsolatedElementHighlightConfigBuilder
impl Send for IsolatedElementHighlightConfigBuilder
impl Sync for IsolatedElementHighlightConfigBuilder
impl Unpin for IsolatedElementHighlightConfigBuilder
impl UnsafeUnpin for IsolatedElementHighlightConfigBuilder
impl UnwindSafe for IsolatedElementHighlightConfigBuilder
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