pub struct GetHighlightObjectForTestParamsBuilder { /* private fields */ }Implementations§
Source§impl GetHighlightObjectForTestParamsBuilder
impl GetHighlightObjectForTestParamsBuilder
Sourcepub fn include_distance(self, include_distance: bool) -> Self
pub fn include_distance(self, include_distance: bool) -> Self
Whether to include distance info.
Sourcepub fn include_style(self, include_style: bool) -> Self
pub fn include_style(self, include_style: bool) -> Self
Whether to include style info.
Sourcepub fn color_format(self, color_format: impl Into<ColorFormat>) -> Self
pub fn color_format(self, color_format: impl Into<ColorFormat>) -> Self
The color format to get config with (default: hex).
Sourcepub fn show_accessibility_info(self, show_accessibility_info: bool) -> Self
pub fn show_accessibility_info(self, show_accessibility_info: bool) -> Self
Whether to show accessibility info (default: true).
pub fn build(self) -> GetHighlightObjectForTestParams
Auto Trait Implementations§
impl Freeze for GetHighlightObjectForTestParamsBuilder
impl RefUnwindSafe for GetHighlightObjectForTestParamsBuilder
impl Send for GetHighlightObjectForTestParamsBuilder
impl Sync for GetHighlightObjectForTestParamsBuilder
impl Unpin for GetHighlightObjectForTestParamsBuilder
impl UnsafeUnpin for GetHighlightObjectForTestParamsBuilder
impl UnwindSafe for GetHighlightObjectForTestParamsBuilder
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