pub struct GetHighlightObjectForTestParams { /* private fields */ }Expand description
For testing.
Implementations§
Source§impl GetHighlightObjectForTestParams
impl GetHighlightObjectForTestParams
Sourcepub fn builder(node_id: NodeId) -> GetHighlightObjectForTestParamsBuilder
pub fn builder(node_id: NodeId) -> GetHighlightObjectForTestParamsBuilder
Creates a builder for this type with the required parameters:
node_id: Id of the node to get highlight object for.
Sourcepub fn include_distance(&self) -> Option<bool>
pub fn include_distance(&self) -> Option<bool>
Whether to include distance info.
Sourcepub fn include_style(&self) -> Option<bool>
pub fn include_style(&self) -> Option<bool>
Whether to include style info.
Sourcepub fn color_format(&self) -> Option<&ColorFormat>
pub fn color_format(&self) -> Option<&ColorFormat>
The color format to get config with (default: hex).
Sourcepub fn show_accessibility_info(&self) -> Option<bool>
pub fn show_accessibility_info(&self) -> Option<bool>
Whether to show accessibility info (default: true).
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetHighlightObjectForTestParams
impl<'a> CdpCommand<'a> for GetHighlightObjectForTestParams
Source§impl Clone for GetHighlightObjectForTestParams
impl Clone for GetHighlightObjectForTestParams
Source§fn clone(&self) -> GetHighlightObjectForTestParams
fn clone(&self) -> GetHighlightObjectForTestParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GetHighlightObjectForTestParams
impl Default for GetHighlightObjectForTestParams
Source§fn default() -> GetHighlightObjectForTestParams
fn default() -> GetHighlightObjectForTestParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetHighlightObjectForTestParams
impl<'de> Deserialize<'de> for GetHighlightObjectForTestParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetHighlightObjectForTestParams
impl RefUnwindSafe for GetHighlightObjectForTestParams
impl Send for GetHighlightObjectForTestParams
impl Sync for GetHighlightObjectForTestParams
impl Unpin for GetHighlightObjectForTestParams
impl UnsafeUnpin for GetHighlightObjectForTestParams
impl UnwindSafe for GetHighlightObjectForTestParams
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