Mojo module
value
Defines core value traits.
These are Mojo built-ins, so you don't need to import them.
Traits
-
BoolableCollectionElement
: The BoolableCollectionElement trait denotes a trait composition of theBoolable
andCollectionElement
traits. -
BoolableKeyElement
: The BoolableKeyElement trait denotes a trait composition of theBoolable
andKeyElement
traits. -
BytesCollectionElement
: The BytesCollectionElement trait denotes a trait composition of theCollectionElement
andAsBytes
. -
CollectionElement
: The CollectionElement trait denotes a trait composition of theCopyable
andMovable
traits. -
CollectionElementNew
: A temporary explicitly-copyable alternative toCollectionElement
. -
ComparableCollectionElement
: This trait denotes a trait composition of theCollectionElement
andComparable
traits. -
Copyable
: The Copyable trait denotes a type whose value can be copied. -
Defaultable
: TheDefaultable
trait describes a type with a default constructor. -
EqualityComparableCollectionElement
: This trait denotes a trait composition of theCollectionElement
andEqualityComparable
traits. -
ExplicitlyCopyable
: The ExplicitlyCopyable trait denotes a type whose value can be copied explicitly. -
Movable
: The Movable trait denotes a type whose value can be moved. -
RepresentableCollectionElement
: The RepresentableCollectionElement trait denotes a trait composition of theCollectionElement
andRepresentable
traits. -
StringableCollectionElement
: The StringableCollectionElement trait denotes a trait composition of theCollectionElement
andStringable
traits.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!