Skip to main content

Mojo struct

PoolMethod

struct PoolMethod

Fields​

  • ​value (Int):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, TrivialRegisterPassable

comptime members​

AVG​

comptime AVG = PoolMethod(1)

MAX​

comptime MAX = PoolMethod(0)

Methods​

__eq__​

__eq__(self, rhs: Self) -> Bool

Returns:

Bool

__ne__​

__ne__(self, rhs: Self) -> Bool

Returns:

Bool