var searchIndex = {}; searchIndex["c_vec"] = {"doc":"Library to interface with chunks of memory allocated in C.","items":[[3,"CVec","c_vec","The type representing a foreign chunk of memory",null,null],[3,"CSlice","","The type representing an 'unsafe' foreign chunk of memory",null,null],[11,"drop","","",0,null],[11,"new","","Create a `CVec` from a raw pointer to a buffer with a given length.",0,null],[11,"new_with_dtor","","Create a `CVec` from a foreign buffer, with a given length,\nand a function to run upon destruction.",0,null],[11,"get","","Retrieves an element at a given index, returning `None` if the requested\nindex is greater than the length of the vector.",0,null],[11,"get_mut","","Retrieves a mutable element at a given index, returning `None` if the\nrequested index is greater than the length of the vector.",0,null],[11,"into_inner","","Unwrap the pointer without running the destructor",0,null],[11,"len","","Returns the number of items in this vector.",0,null],[11,"is_empty","","Returns whether this vector is empty.",0,null],[11,"as_cslice","","Convert to CSlice",0,null],[11,"as_ref","","View the stored data as a slice.",0,null],[11,"as_mut","","View the stored data as a slice.",0,null],[11,"new","","Create a `CSlice` from a raw pointer to a buffer with a given length.",1,null],[11,"get","","Retrieves an element at a given index, returning `None` if the requested\nindex is greater than the length of the vector.",1,null],[11,"get_mut","","Retrieves a mutable element at a given index, returning `None` if the\nrequested index is greater than the length of the vector.",1,null],[11,"len","","Returns the number of items in this vector.",1,null],[11,"is_empty","","Returns whether this vector is empty.",1,null],[11,"as_ref","","View the stored data as a slice.",1,null],[11,"as_mut","","View the stored data as a slice.",1,null],[11,"index","","",1,null],[11,"index_mut","","",1,null]],"paths":[[3,"CVec"],[3,"CSlice"]]}; initSearch(searchIndex);