(data: T)
| 170 | /// Creates a new instance of `GILProtected`. |
| 171 | #[inline] |
| 172 | pub const fn new(data: T) -> GILProtected<T> { |
| 173 | GILProtected { data } |
| 174 | } |
| 175 | |
| 176 | /// Returns a shared reference to the data stored in the `GILProtected`. |
| 177 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected