// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace Pango {

	using System;
	using System.Collections;
	using System.Collections.Generic;
	using System.Runtime.InteropServices;

#region Autogenerated code
	[StructLayout(LayoutKind.Sequential)]
	public partial struct LogAttr : IEquatable<LogAttr> {

		private uint _bitfield0;


		public static Pango.LogAttr Zero = new Pango.LogAttr ();

		public static Pango.LogAttr New(IntPtr raw) {
			if (raw == IntPtr.Zero)
				return Pango.LogAttr.Zero;
			return (Pango.LogAttr) Marshal.PtrToStructure (raw, typeof (Pango.LogAttr));
		}

		public bool Equals (LogAttr other)
		{
			return true && _bitfield0.Equals (other._bitfield0);
		}

		public override bool Equals (object other)
		{
			return other is LogAttr && Equals ((LogAttr) other);
		}

		public override int GetHashCode ()
		{
			return this.GetType ().FullName.GetHashCode () ^ _bitfield0.GetHashCode ();
		}

		private static GLib.GType GType {
			get { return GLib.GType.Pointer; }
		}
#endregion
	}
}
