autocxx

Function as_copy

Source
pub fn as_copy<P: Deref>(ptr: P) -> impl ValueParam<P::Target>
where P::Target: CopyNew,
Expand description

Explicitly force a value parameter to be taken by copy.