MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / builder_ring_styling

Function builder_ring_styling

src/accessibility.rs:329–339  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327
328 #[test]
329 fn builder_ring_styling() {
330 let mut builder = AccessibilityBuilder::new();
331 builder
332 .focusable()
333 .ring_color(Color::rgb(0.0, 120.0, 255.0))
334 .ring_width(3);
335
336 assert!(builder.config.show_ring);
337 assert_eq!(builder.config.ring_color, Some(Color::rgb(0.0, 120.0, 255.0)));
338 assert_eq!(builder.config.ring_width, Some(3));
339 }
340
341 #[test]
342 fn ring_color_accepts_into() {

Callers

nothing calls this directly

Calls 3

ring_widthMethod · 0.80
ring_colorMethod · 0.80
focusableMethod · 0.80

Tested by

no test coverage detected