Mojo struct
head_t
@register_passable_trivial
struct head_t
Aliases
__del__is_trivial = True__moveinit__is_trivial = True__copyinit__is_trivial = True
Fields
- prev (
UnsafePointer[head_t, MutAnyOrigin]) - next (
UnsafePointer[head_t, MutAnyOrigin]) - data (
UnsafePointer[Float32, MutExternalOrigin])
Implemented traits
AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable
Methods
__init__
fn __init__() -> Self
Returns:
Self