[][src]Trait pyo3::types::PyDateAccess

pub trait PyDateAccess {
    fn get_year(&self) -> i32;
fn get_month(&self) -> u8;
fn get_day(&self) -> u8; }

Access traits Trait for accessing the date components of a struct containing a date.

Required methods

fn get_year(&self) -> i32

fn get_month(&self) -> u8

fn get_day(&self) -> u8

Loading content...

Implementors

impl PyDateAccess for PyDate[src]

impl PyDateAccess for PyDateTime[src]

Loading content...