pub fn new(value: T) -> *mut ComBoxData<T>
    {
        // TODO: Fix this to use raw heap allocation at some point. There's
        // no need to construct and immediately detach a Box.
        Box::into_raw(Box::new(ComBoxData {
            vtable_list: T::VTABLE,
            ref_count: AtomicU32::new(0),
            value,
        }))
    }
/// Creates a new ComBoxData and returns a pointer to it.
///
/// The box is initialized with a reference count of zero. In most cases
/// the ComBoxData creation is followed by query_interface, which increments the
/// ref_count.
///
/// The value should be cleaned by calling 'release'.
Creates a new ComBoxData and returns a pointer to it.
The box is initialized with a reference count of zero. In most cases
the ComBoxData creation is followed by query_interface, which increments the
ref_count.

The value should be cleaned by calling 'release'.
Creates a new ComBoxData and returns a pointer to it . The box is initialized with a reference count of zero . In most cases the ComBoxData creation is followed by query_interface which increments the ref_count . The value should be cleaned by calling ' release ' .
pub fn new(value: T) -> *mut ComBoxData<T>
    {
        // TODO: Fix this to use raw heap allocation at some point. There's
        // no need to construct and immediately detach a Box.
        Box::into_raw(Box::new(ComBoxData {
            vtable_list: T::VTABLE,
            ref_count: AtomicU32::new(0),
            value,
        }))
    }
pub fn new ( value : T ) -> * mut ComBoxData < T > { // TODO: Fix this to use raw heap allocation at some point. There's // no need to construct and immediately detach a Box. Box :: into_raw ( Box :: new ( ComBoxData { vtable_list : T :: VTABLE , ref_count : AtomicU32 :: new ( 0 ) , value , } ) ) }
Creates a new ComBoxData and returns a pointer to it.
Creates a new ComBoxData and returns a pointer to it .
value
T
value
T