[−][src]Struct rosrust::Duration
Fields
sec: i32
nsec: i32
Methods
impl Duration
[src][−]
pub fn new() -> Duration
[src]
pub fn from_nanos(t: i64) -> Duration
[src]
pub fn from_seconds(sec: i32) -> Duration
[src]
pub fn seconds(self) -> f64
[src]
Trait Implementations
impl Add<Duration> for Time
[src][+]
impl Add<Duration> for Duration
[src][+]
impl Clone for Duration
[src][+]
impl Copy for Duration
[src]
impl Debug for Duration
[src][+]
impl Default for Duration
[src][+]
impl<'de> Deserialize<'de> for Duration
[src][+]
impl Eq for Duration
[src]
impl From<Duration> for Duration
[src][+]
impl Neg for Duration
[src][+]
impl Ord for Duration
[src][+]
impl PartialEq<Duration> for Duration
[src][+]
impl PartialOrd<Duration> for Duration
[src][+]
impl Serialize for Duration
[src][+]
impl Sub<Duration> for Time
[src][+]
impl Sub<Duration> for Duration
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for Duration
impl Send for Duration
impl Sync for Duration
impl Unpin for Duration
impl UnwindSafe for Duration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> Typeable for T where
T: Any,
[src][+]
T: Any,