#[repr(C)]
pub struct rcl_jump_threshold_t { pub on_clock_change: bool, pub min_forward: rcl_duration_t, pub min_backward: rcl_duration_t, }
Expand description

Describe the prerequisites for calling a time jump callback.

Fields

on_clock_change: bool

True to call callback when the clock type changes.

min_forward: rcl_duration_t

A positive duration indicating the minimum jump forwards to be considered exceeded, or zero to disable.

min_backward: rcl_duration_t

A negative duration indicating the minimum jump backwards to be considered exceeded, or zero to disable.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.