pub struct GetHighlightObjectForTestParams {
pub nodeId: NodeId,
pub includeDistance: Option<bool>,
pub includeStyle: Option<bool>,
pub colorFormat: Option<ColorFormat>,
pub showAccessibilityInfo: Option<bool>,
}Expand description
For testing.
Fields§
§nodeId: NodeIdId of the node to get highlight object for.
includeDistance: Option<bool>Whether to include distance info.
includeStyle: Option<bool>Whether to include style info.
colorFormat: Option<ColorFormat>The color format to get config with (default: hex).
showAccessibilityInfo: Option<bool>Whether to show accessibility info (default: true).
Implementations§
Trait Implementations§
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 · 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