pub trait BuildSurface {
// Provided methods
fn plane_from_points(
points: [impl Into<Point<3>>; 3],
core: &mut Core,
) -> (Handle<Surface>, [Point<2>; 3]) { ... }
fn surface_from_uv(
u: impl Into<GlobalPath>,
v: impl Into<Vector<3>>,
core: &mut Core,
) -> Handle<Surface> { ... }
}Expand description
Build a Surface
See module-level documentation for context.
Provided Methods§
Sourcefn plane_from_points(
points: [impl Into<Point<3>>; 3],
core: &mut Core,
) -> (Handle<Surface>, [Point<2>; 3])
fn plane_from_points( points: [impl Into<Point<3>>; 3], core: &mut Core, ) -> (Handle<Surface>, [Point<2>; 3])
Build a plane from the provided points
Sourcefn surface_from_uv(
u: impl Into<GlobalPath>,
v: impl Into<Vector<3>>,
core: &mut Core,
) -> Handle<Surface>
fn surface_from_uv( u: impl Into<GlobalPath>, v: impl Into<Vector<3>>, core: &mut Core, ) -> Handle<Surface>
Build a plane from the provided u and v
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.