Struct git2::IndexTime [] [src]

pub struct IndexTime {
    // some fields omitted
}

Time structure used in a git index entry.

Methods

impl IndexTime
[src]

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

impl PartialEq for IndexTime
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl Eq for IndexTime
[src]

impl Clone for IndexTime
[src]

fn clone(&self) -> IndexTime

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for IndexTime
[src]