Creates a clone of an object implementing the FloWindowProperties trait
(properties: &T)
| 85 | /// Creates a clone of an object implementing the FloWindowProperties trait |
| 86 | /// |
| 87 | pub fn from<T: FloWindowProperties>(properties: &T) -> WindowProperties { |
| 88 | WindowProperties { |
| 89 | title: properties.title(), |
| 90 | size: properties.size(), |
| 91 | fullscreen: properties.fullscreen(), |
| 92 | has_decorations: properties.has_decorations(), |
| 93 | mouse_pointer: properties.mouse_pointer() |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | impl FloWindowProperties for WindowProperties { |
nothing calls this directly
no test coverage detected