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