Table of Contents

Mojo struct

KDTreeResult

@register_passable_trivial
struct KDTreeResult

Aliases

  • __del__is_trivial = True
  • __moveinit__is_trivial = True
  • __copyinit__is_trivial = True

Fields

  • dis (Float32)
  • idx (Int)

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable

Methods

__lt__

fn __lt__(self, rhs: Self) -> Bool

Args:

  • self (Self)
  • rhs (Self)

Returns:

Bool

__le__

fn __le__(self, rhs: Self) -> Bool

Args:

  • self (Self)
  • rhs (Self)

Returns:

Bool

__gt__

fn __gt__(self, rhs: Self) -> Bool

Args:

  • self (Self)
  • rhs (Self)

Returns:

Bool