Struct rosrust::msg::Time
[−]
[src]
pub struct Time { pub sec: i32, pub nsec: i32, }
Fields
sec: i32
nsec: i32
Methods
impl Time
[src]
Trait Implementations
impl Debug for Time
[src]
impl Add<Duration> for Time
[src]
type Output = Time
The resulting type after applying the +
operator.
fn add(self, rhs: Duration) -> Self::Output
[src]
Performs the +
operation.
impl Sub<Time> for Time
[src]
type Output = Duration
The resulting type after applying the -
operator.
fn sub(self, rhs: Time) -> Self::Output
[src]
Performs the -
operation.