pub struct GetHighlightObjectForTestCommandBuilder { /* private fields */ }Available on crate features
experimental and Overlay and DOM and Page and Runtime only.Implementations§
Source§impl GetHighlightObjectForTestCommandBuilder
impl GetHighlightObjectForTestCommandBuilder
Sourcepub fn include_distance(&mut self, v: bool) -> &mut Self
pub fn include_distance(&mut self, v: bool) -> &mut Self
Whether to include distance info.
Sourcepub fn include_style(&mut self, v: bool) -> &mut Self
pub fn include_style(&mut self, v: bool) -> &mut Self
Whether to include style info.
Sourcepub fn color_format(&mut self, v: ColorFormat) -> &mut Self
pub fn color_format(&mut self, v: ColorFormat) -> &mut Self
The color format to get config with (default: hex).
Sourcepub fn show_accessibility_info(&mut self, v: bool) -> &mut Self
pub fn show_accessibility_info(&mut self, v: bool) -> &mut Self
Whether to show accessibility info (default: true).
pub fn build( &mut self, ) -> Result<GetHighlightObjectForTestCommand, &'static str>
Trait Implementations§
Source§impl Clone for GetHighlightObjectForTestCommandBuilder
impl Clone for GetHighlightObjectForTestCommandBuilder
Source§fn clone(&self) -> GetHighlightObjectForTestCommandBuilder
fn clone(&self) -> GetHighlightObjectForTestCommandBuilder
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 GetHighlightObjectForTestCommandBuilder
impl RefUnwindSafe for GetHighlightObjectForTestCommandBuilder
impl Send for GetHighlightObjectForTestCommandBuilder
impl Sync for GetHighlightObjectForTestCommandBuilder
impl Unpin for GetHighlightObjectForTestCommandBuilder
impl UnwindSafe for GetHighlightObjectForTestCommandBuilder
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