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
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!