pub trait IsDirectionField2D {
// Required method
fn direction_at<P>(&self, p: &P) -> Norm2D
where P: Is2D;
}
Expand description
IsDirectionField2D is a trait used for fields of directions within 2D space
Required Methods§
Sourcefn direction_at<P>(&self, p: &P) -> Norm2Dwhere
P: Is2D,
fn direction_at<P>(&self, p: &P) -> Norm2Dwhere
P: Is2D,
Should return the direction at the given position
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.