[][src]Trait pyo3::types::PyTimeAccess

pub trait PyTimeAccess {
    fn get_hour(&self) -> u8;
fn get_minute(&self) -> u8;
fn get_second(&self) -> u8;
fn get_microsecond(&self) -> u32;
fn get_fold(&self) -> u8; }

Trait for accessing the time components of a struct containing a time.

Required methods

fn get_hour(&self) -> u8

fn get_minute(&self) -> u8

fn get_second(&self) -> u8

fn get_microsecond(&self) -> u32

fn get_fold(&self) -> u8

Loading content...

Implementors

impl PyTimeAccess for PyDateTime[src]

impl PyTimeAccess for PyTime[src]

Loading content...