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. - β
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!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?