//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImPlotApi.Internal
{
///
///
/// C++:
/// implot_internal.h:278
///
struct ImPlotDateTimeSpec {
///
///
///
///
/// Combined date/time format spec
///
///
[StructLayout(LayoutKind.Explicit, Size = 12)]
public partial struct ImPlotDateTimeSpec
{
///
///
/// C++:
/// implot_internal.h:286
///
ImPlotDateFmt Date
///
///
///
///
/// Combined date/time format spec
///
///
[FieldOffset(0)]
public ImPlotDateFmt Date;
///
///
/// C++:
/// implot_internal.h:287
///
ImPlotTimeFmt Time
///
///
///
///
/// Combined date/time format spec
///
///
[FieldOffset(4)]
public ImPlotTimeFmt Time;
///
///
/// C++:
/// implot_internal.h:288
///
bool UseISO8601
///
///
///
///
/// Combined date/time format spec
///
///
[FieldOffset(8)]
public Bool8 UseISO8601;
///
///
/// C++:
/// implot_internal.h:289
///
bool Use24HourClock
///
///
///
///
/// Combined date/time format spec
///
///
[FieldOffset(9)]
public Bool8 Use24HourClock;
}
///
///
/// C++:
/// implot_internal.h:278
///
struct ImPlotDateTimeSpec {
///
///
///
///
/// Combined date/time format spec
///
///
public unsafe partial struct ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) : INullable
{
private ImPlotDateTimeSpec* _ptr = ptr;
public ImPlotDateTimeSpec* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImPlotDateTimeSpecPtr(ImPlotDateTimeSpec* ptr) => new(ptr);
public static implicit operator ImPlotDateTimeSpec*(ImPlotDateTimeSpecPtr wrapper) => wrapper.Ptr;
///
///
/// C++:
/// implot_internal.h:286
///
ImPlotDateFmt Date
///
///
///
///
/// Combined date/time format spec
///
///
public ref ImPlotDateFmt Date => ref Unsafe.AsRef(&_ptr->Date);
///
///
/// C++:
/// implot_internal.h:287
///
ImPlotTimeFmt Time
///
///
///
///
/// Combined date/time format spec
///
///
public ref ImPlotTimeFmt Time => ref Unsafe.AsRef(&_ptr->Time);
///
///
/// C++:
/// implot_internal.h:288
///
bool UseISO8601
///
///
///
///
/// Combined date/time format spec
///
///
public ref bool UseISO8601 => ref Unsafe.AsRef(&_ptr->UseISO8601);
///
///
/// C++:
/// implot_internal.h:289
///
bool Use24HourClock
///
///
///
///
/// Combined date/time format spec
///
///
public ref bool Use24HourClock => ref Unsafe.AsRef(&_ptr->Use24HourClock);
}
}