Skip to main content
Log in

Mojo struct

Vendor

@register_passable struct Vendor

Aliases

  • NO_GPU = Vendor(SIMD(0)):
  • AMD_GPU = Vendor(SIMD(1)):
  • NVIDIA_GPU = Vendor(SIMD(2)):

Implemented traits

AnyType, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility, Writable

Methods

__eq__

__eq__(self, other: Self) -> Bool

__ne__

__ne__(self, other: Self) -> Bool

__is__

__is__(self, other: Self) -> Bool

__isnot__

__isnot__(self, other: Self) -> Bool

write_to

write_to[W: Writer](self, mut writer: W)

__str__

__str__(self) -> String