pub struct GetHighlightObjectForTestParamsBuilder { /* private fields */ }Implementations§
Source§impl GetHighlightObjectForTestParamsBuilder
impl GetHighlightObjectForTestParamsBuilder
Sourcepub fn includeDistance(self, includeDistance: bool) -> Self
pub fn includeDistance(self, includeDistance: bool) -> Self
Whether to include distance info.
Sourcepub fn includeStyle(self, includeStyle: bool) -> Self
pub fn includeStyle(self, includeStyle: bool) -> Self
Whether to include style info.
Sourcepub fn colorFormat(self, colorFormat: ColorFormat) -> Self
pub fn colorFormat(self, colorFormat: ColorFormat) -> Self
The color format to get config with (default: hex).
Sourcepub fn showAccessibilityInfo(self, showAccessibilityInfo: bool) -> Self
pub fn showAccessibilityInfo(self, showAccessibilityInfo: 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