#[repr(C)]pub struct builtin_interfaces__msg__Duration {
pub sec: i32,
pub nanosec: u32,
}Fields§
§sec: i32§nanosec: u32Trait Implementations§
Source§impl Clone for builtin_interfaces__msg__Duration
impl Clone for builtin_interfaces__msg__Duration
Source§fn clone(&self) -> builtin_interfaces__msg__Duration
fn clone(&self) -> builtin_interfaces__msg__Duration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<&builtin_interfaces__msg__Duration> for Duration
impl From<&builtin_interfaces__msg__Duration> for Duration
Source§fn from(t: &UnsafeDuration) -> Self
fn from(t: &UnsafeDuration) -> Self
Converts to this type from the input type.
Source§impl From<builtin_interfaces__msg__Duration> for Duration
impl From<builtin_interfaces__msg__Duration> for Duration
Source§fn from(t: UnsafeDuration) -> Self
fn from(t: UnsafeDuration) -> Self
Converts to this type from the input type.
impl Copy for builtin_interfaces__msg__Duration
Auto Trait Implementations§
impl Freeze for builtin_interfaces__msg__Duration
impl RefUnwindSafe for builtin_interfaces__msg__Duration
impl Send for builtin_interfaces__msg__Duration
impl Sync for builtin_interfaces__msg__Duration
impl Unpin for builtin_interfaces__msg__Duration
impl UnwindSafe for builtin_interfaces__msg__Duration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more