pub trait CoordsFloat:
Float
+ Default
+ AddAssign
+ SubAssign
+ MulAssign
+ DivAssign
+ Debug
+ Send
+ Sync
+ 'static { }
Expand description
Common trait implemented by types used for coordinate representation.
The static lifetime is a requirements induced by specific implementations that use
TypeId
;
This is used in order to identify types in two contexts:
- Interacting with VTK files (
io
feature), - Coding vertices and generic attributes handling
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.