Mojo struct
Handle
struct Handle[backend: Backend = _resolve_backend[Backend.AUTOMATIC]()]
Implemented traitsβ
AnyType,
Copyable,
ImplicitlyCopyable,
ImplicitlyDestructible,
Movable
comptime membersβ
resolved_backendβ
comptime resolved_backend = _resolve_backend[backend]()
typeβ
comptime type = Variant[Optional[UnsafePointer[NoneType, MutAnyOrigin]], Handle, Optional[UnsafePointer[NoneType, MutAnyOrigin]]]
Methodsβ
__init__β
__init__(out self)
__is__β
__isnot__β
__enter__β
__enter__(self) -> Self
__exit__β
__exit__(mut self)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!