Skip to content

OutputFormat

Mojo struct 🡭

OutputFormat

@memory_only
struct OutputFormat

Aliases

  • SVG = OutputFormat(Int(0))
  • PNG = OutputFormat(Int(1))
  • BMP = OutputFormat(Int(2))
  • PDF = OutputFormat(Int(3))

Implemented traits

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable

Methods

__init__

fn def __init__(out self, value: Int)

Args:

  • value (Int)
  • self (Self)

Returns:

Self

__eq__

fn def __eq__(self, other: Self) -> Bool

Args:

  • self (Self)
  • other (Self)

Returns:

Bool