// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// A localization entry. /// /// /// C++: /// imgui_internal.h:164 ///
struct ImGuiLocEntry ///
///
/// /// /// ImGui /// /// [StructLayout(LayoutKind.Explicit, Size = 16)] public partial struct ImGuiLocEntry { /// /// /// C++: /// imgui_internal.h:2202 ///
ImGuiLocKey Key ///
///
[FieldOffset(0)] public ImGuiLocKey Key; /// /// /// C++: /// imgui_internal.h:2203 ///
const char* Text ///
///
[FieldOffset(8)] public Ptr Text; } /// /// /// A localization entry. /// /// /// C++: /// imgui_internal.h:164 ///
struct ImGuiLocEntry ///
///
/// /// /// ImGui /// /// public unsafe partial struct ImGuiLocEntryPtr(ImGuiLocEntry* ptr) : INullable { private ImGuiLocEntry* _ptr = ptr; public ImGuiLocEntry* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiLocEntryPtr(ImGuiLocEntry* ptr) => new(ptr); public static implicit operator ImGuiLocEntry*(ImGuiLocEntryPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:2202 ///
ImGuiLocKey Key ///
///
public ref ImGuiLocKey Key => ref Unsafe.AsRef(&_ptr->Key); /// /// /// C++: /// imgui_internal.h:2203 ///
const char* Text ///
///
public ref Ptr Text => ref Unsafe.AsRef>(&_ptr->Text); } }