pub struct GetHighlightObjectForTestBuilder { /* private fields */ }Expand description
Builder for GetHighlightObjectForTest.
Implementations§
Source§impl GetHighlightObjectForTestBuilder
impl GetHighlightObjectForTestBuilder
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
Id of the node to get highlight object for.
Sourcepub fn include_distance<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn include_distance<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether to include distance info.
Sourcepub fn include_style<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn include_style<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether to include style info.
Sourcepub fn color_format<VALUE: Into<ColorFormat>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn color_format<VALUE: Into<ColorFormat>>( &mut self, value: VALUE, ) -> &mut Self
The color format to get config with (default: hex).
Sourcepub fn show_accessibility_info<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn show_accessibility_info<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
Whether to show accessibility info (default: true).
Sourcepub fn build(
&self,
) -> Result<GetHighlightObjectForTest, GetHighlightObjectForTestBuilderError>
pub fn build( &self, ) -> Result<GetHighlightObjectForTest, GetHighlightObjectForTestBuilderError>
Trait Implementations§
Source§impl Clone for GetHighlightObjectForTestBuilder
impl Clone for GetHighlightObjectForTestBuilder
Source§fn clone(&self) -> GetHighlightObjectForTestBuilder
fn clone(&self) -> GetHighlightObjectForTestBuilder
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 GetHighlightObjectForTestBuilder
impl RefUnwindSafe for GetHighlightObjectForTestBuilder
impl Send for GetHighlightObjectForTestBuilder
impl Sync for GetHighlightObjectForTestBuilder
impl Unpin for GetHighlightObjectForTestBuilder
impl UnsafeUnpin for GetHighlightObjectForTestBuilder
impl UnwindSafe for GetHighlightObjectForTestBuilder
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