moveit::new

Function copy

Source
pub fn copy<P>(ptr: P) -> impl New<Output = P::Target>
where P: Deref, P::Target: CopyNew,
Expand description

Returns a new New that uses a copy constructor.