Trait cpp_utils::new_uninitialized::NewUninitialized
source · pub trait NewUninitialized {
unsafe fn new_uninitialized() -> Self;
}Expand description
A trait for types that can be created with uninitialized internal buffer.
This trait is an implementation detail of cpp_to_rust and should not be used directly.
Required Methods
sourceunsafe fn new_uninitialized() -> Self
unsafe fn new_uninitialized() -> Self
Creates new object with uninitialized internal buffer.