Skip to main content

Mojo struct

RasterOrder

@register_passable(trivial) struct RasterOrder

Implemented traits

AnyType, Copyable, Equatable, Hashable, ImplicitlyCopyable, ImplicitlyDestructible, Movable, RegisterPassable, Stringable, TrivialRegisterPassable, Writable

comptime members

__copyinit__is_trivial

comptime __copyinit__is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__moveinit__is_trivial

comptime __moveinit__is_trivial = True

AlongM

comptime AlongM = RasterOrder(1)

AlongN

comptime AlongN = RasterOrder(0)

Methods

__eq__

__eq__(self, other: Self) -> Bool

Returns:

Bool

__ne__

__ne__(self, other: Self) -> Bool

Returns:

Bool

__str__

__str__(self) -> String

Returns:

String

write_to

write_to(self, mut writer: T)

Was this page helpful?