PowerOfTwo

indigo.shared.PowerOfTwo
See thePowerOfTwo companion trait
object PowerOfTwo

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PowerOfTwo.type

Members list

Type members

Classlikes

case object _1024 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_1024.type
case object _128 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_128.type
case object _16 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_16.type
case object _2 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_2.type
case object _2048 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_2048.type
case object _256 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_256.type
case object _32 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_32.type
case object _4 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_4.type
case object _4096 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_4096.type
case object _512 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_512.type
case object _64 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_64.type
case object _8 extends PowerOfTwo

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait PowerOfTwo
class Object
trait Matchable
class Any
Show all
Self type
_8.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromInt(i: Int): Option[PowerOfTwo]
def isValidPowerOfTwo(i: Int): Boolean

Concrete fields

val all: Set[PowerOfTwo]

Givens

Givens