pub struct GetHighlightObjectForTestParams {
pub node_id: NodeId,
pub include_distance: Option<bool>,
pub include_style: Option<bool>,
pub color_format: Option<ColorFormat>,
pub show_accessibility_info: Option<bool>,
}Expand description
For testing.
Parameters of Overlay.getHighlightObjectForTest.
Fields§
§node_id: NodeIdId of the node to get highlight object for.
include_distance: Option<bool>Whether to include distance info.
include_style: Option<bool>Whether to include style info.
color_format: Option<ColorFormat>The color format to get config with (default: hex).
show_accessibility_info: Option<bool>Whether to show accessibility info (default: true).
Trait Implementations§
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
impl StructuralPartialEq for GetHighlightObjectForTestParams
Auto Trait Implementations§
impl Forget for GetHighlightObjectForTestParams
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