Skip to main content
Log in

Mojo struct

CoordinateTransformationMode

struct CoordinateTransformationMode

Aliases

  • HalfPixel = CoordinateTransformationMode(0):
  • AlignCorners = CoordinateTransformationMode(1):
  • Asymmetric = CoordinateTransformationMode(2):
  • HalfPixel1D = CoordinateTransformationMode(3):

Fields

  • value (Int):

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__init__

@implicit __init__(out self, value: Int)

__eq__

__eq__(self, other: Self) -> Bool