Mojo struct
NullPointer
@register_passable(trivial)
struct NullPointer[dtype_: DType]
Implemented traits
AnyType,
Copyable,
ImplicitlyCopyable,
Movable,
OptionalPointer,
UnknownDestructibility
Aliases
__copyinit__is_trivial
comptime __copyinit__is_trivial = True
__del__is_trivial
comptime __del__is_trivial = True
__moveinit__is_trivial
comptime __moveinit__is_trivial = True
dtype
comptime dtype = dtype_
is_null
comptime is_null = True
Methods
__init__
__init__() -> Self
value
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!