mirror of
https://github.com/hannobraun/Fornjot
synced 2025-08-13 12:46:06 +00:00
Make method more convenient to call
This commit is contained in:
parent
6079b6b95e
commit
fa1bd45280
@ -1,7 +1,5 @@
|
|||||||
use tuples::CombinRight;
|
use tuples::CombinRight;
|
||||||
|
|
||||||
use crate::math::Point;
|
|
||||||
|
|
||||||
use super::{Operation, Triangle, Vertex};
|
use super::{Operation, Triangle, Vertex};
|
||||||
|
|
||||||
#[derive(Default)]
|
#[derive(Default)]
|
||||||
@ -83,7 +81,7 @@ pub struct OperationResult<'r, T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<'r, T> OperationResult<'r, T> {
|
impl<'r, T> OperationResult<'r, T> {
|
||||||
pub fn vertex(self, point: impl Into<Point>) -> OperationResult<'r, T::Out>
|
pub fn vertex(self, point: impl Into<Vertex>) -> OperationResult<'r, T::Out>
|
||||||
where
|
where
|
||||||
T: CombinRight<Vertex>,
|
T: CombinRight<Vertex>,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user