Skip to main content
Log in

Mojo module

unsafe_pointer

Implement a generic unsafe pointer type.

You can import these APIs from the memory package. For example:

from memory import UnsafePointer
from memory import UnsafePointer

Structs

  • UnsafePointer: This is a pointer type that can point to any generic value that is movable.

Was this page helpful?