Mojo struct
Origin
@register_passable(trivial)
struct Origin[is_mutable: Bool]
This represents a origin reference for a memory value.
Parameters
- is_mutable (
Bool
): Whether the origin is mutable.
Aliases
cast_from = _lit_mut_cast[is_mutable, ?]
: Cast an existing Origin to be of the specified mutability.
Implemented traits
AnyType
,
Copyable
,
Movable
,
UnknownDestructibility