Table of Contents

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