MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / as_ptr

Method as_ptr

src/buffer.rs:631–633  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

629
630 #[inline]
631 pub fn as_ptr(&self) -> *const T {
632 self.0.get()
633 }
634}
635
636macro_rules! impl_element(

Callers 15

PyMapping_KeysFunction · 0.45
PyMapping_ValuesFunction · 0.45
PyMapping_ItemsFunction · 0.45
PyTuple_GET_ITEMFunction · 0.45
PyTuple_GET_ITEMFunction · 0.45
getMethod · 0.45
get_ptrMethod · 0.45
copy_to_slice_implMethod · 0.45
copy_from_slice_implMethod · 0.45
hasattrMethod · 0.45
getattrMethod · 0.45
setattrMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected