Mojo module
value
Defines core value traits.
These are Mojo built-ins, so you don't need to import them.
Aliases
-
CollectionElement = Copyable & Movable
:
Traits
-
Copyable
: The Copyable trait denotes a type whose value can be copied. -
Defaultable
: TheDefaultable
trait describes a type with a default constructor. -
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.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!