pub struct ListObj {
pub data_deleter: Option<unsafe extern "C" fn(*mut c_void)>,
/* private fields */
}Expand description
The object behind a List, laid out as the C++ ListObj. Unlike
ffi.Array, the element buffer data is a separate allocation that the
runtime replaces when the list grows.
Fields§
§data_deleter: Option<unsafe extern "C" fn(*mut c_void)>Deleter for the element buffer.
Implementations§
Trait Implementations§
Source§impl ObjectCore for ListObj
impl ObjectCore for ListObj
Auto Trait Implementations§
impl !Freeze for ListObj
impl !RefUnwindSafe for ListObj
impl !Send for ListObj
impl !Sync for ListObj
impl Unpin for ListObj
impl UnsafeUnpin for ListObj
impl UnwindSafe for ListObj
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