Struct git2::IndexTime [] [src]

pub struct IndexTime {
    // some fields omitted
}

Time structure used in a git index entry.

Methods

impl IndexTime

fn new(seconds: i32, nanoseconds: u32) -> IndexTime

Creates a new time structure from its components.

fn seconds(&self) -> i32

Returns the number of seconds in the second component of this time.

fn nanoseconds(&self) -> u32

Returns the nanosecond component of this time.

Trait Implementations

Derived Implementations

impl PartialEq for IndexTime

fn eq(&self, __arg_0: &IndexTime) -> bool

fn ne(&self, __arg_0: &IndexTime) -> bool

impl Eq for IndexTime

impl Clone for IndexTime

fn clone(&self) -> IndexTime

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

impl Copy for IndexTime