Skip to main content

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[UnsafePointer[NoneType, MutAnyOrigin], Handle, hipblasLtHandle_t]

Methods

__init__

__init__(out self)

__is__

__is__(self, other: Backend) -> Bool

Returns:

Bool

__isnot__

__isnot__(self, other: Backend) -> Bool

Returns:

Bool

__enter__

__enter__(self) -> Self

__exit__

__exit__(mut self)

Was this page helpful?