Skip to main content
Log in

Mojo struct

ConstantMemoryMapping

@register_passable(trivial) struct ConstantMemoryMapping

Fields

  • name (StringLiteral):
  • ptr (UnsafePointer[NoneType]):
  • byte_count (Int):

Implemented traits

AnyType, CollectionElement, Copyable, ExplicitlyCopyable, Movable, UnknownDestructibility

Methods

__init__

__init__(name: StringLiteral, ptr: UnsafePointer[NoneType], byte_count: Int) -> Self