Mojo struct
ThreadScope
@register_passable(trivial)
struct ThreadScope
Aliases
BLOCK = ThreadScope(0)
:WARP = ThreadScope(1)
:
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
Methods
__init__
@implicit
__init__(value: Int) -> Self
__eq__
__eq__(self, other: Self) -> Bool
__ne__
__ne__(self, other: Self) -> Bool
__str__
__str__(self) -> String
__int__
__int__(self) -> Int
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!