Expand description
Helper structs for interacting with C pointers in safe rust.
Structs§
- CTmpMut
- A mutable version of
CTmpRef
. - CTmp
MutIterator - A mutable version of
CTmpPtrIterator
. - CTmp
MutNullable Iterator - Similar to
CTmpMutIterator
, with some support for optional (null) items. - CTmp
PtrIterator - An iterator through a C array, maintaining a reference to a parent to ensure the data does not become invalid while iterating.
- CTmp
PtrNullable Iterator - Similar to
CTmpPtrIterator
, with some support for optional (null) items. - CTmpRef
- A reference type to temporarily borrow two types at once, ensuring a parent’s lifetime remains valid throughout the lifetime of the child.
- SyncPtr
- A wrapper over a raw pointer with the
Send
andSync
traits.
Traits§
- NewFrom
Ptr - Create a type from its underlying
spine-c
pointer type.