Type Alias GDate

Source
pub type GDate = _GDate;

Aliased Type§

struct GDate {
    pub _bitfield_align_1: [u32; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8]>,
}

Fields§

§_bitfield_align_1: [u32; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 8]>

Implementations

Source§

impl _GDate

Source

pub fn julian_days(&self) -> guint

Source

pub fn set_julian_days(&mut self, val: guint)

Source

pub fn julian(&self) -> guint

Source

pub fn set_julian(&mut self, val: guint)

Source

pub fn dmy(&self) -> guint

Source

pub fn set_dmy(&mut self, val: guint)

Source

pub fn day(&self) -> guint

Source

pub fn set_day(&mut self, val: guint)

Source

pub fn month(&self) -> guint

Source

pub fn set_month(&mut self, val: guint)

Source

pub fn year(&self) -> guint

Source

pub fn set_year(&mut self, val: guint)

Source

pub fn new_bitfield_1( julian_days: guint, julian: guint, dmy: guint, day: guint, month: guint, year: guint, ) -> __BindgenBitfieldUnit<[u8; 8]>

Trait Implementations

Source§

impl Clone for _GDate

Source§

fn clone(&self) -> _GDate

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _GDate

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for _GDate

Source§

fn eq(&self, other: &_GDate) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for _GDate

Source§

impl Eq for _GDate

Source§

impl StructuralPartialEq for _GDate