pub enum DistanceTarget<'a> {
Mesh(&'a TriMesh),
Shape(&'a [u8]),
}Expand description
What distances are measured to.
Variants§
Mesh(&'a TriMesh)
Triangles, closed or not.
Shape(&'a [u8])
A native-format solid, meshed finely by curvature for the purpose.
Trait Implementations§
Source§impl<'a> Clone for DistanceTarget<'a>
impl<'a> Clone for DistanceTarget<'a>
impl<'a> Copy for DistanceTarget<'a>
Auto Trait Implementations§
impl<'a> Forget for DistanceTarget<'a>
impl<'a> Freeze for DistanceTarget<'a>
impl<'a> Move for DistanceTarget<'a>
impl<'a> RefUnwindSafe for DistanceTarget<'a>
impl<'a> Send for DistanceTarget<'a>
impl<'a> Sync for DistanceTarget<'a>
impl<'a> Unpin for DistanceTarget<'a>
impl<'a> UnsafeUnpin for DistanceTarget<'a>
impl<'a> UnwindSafe for DistanceTarget<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more