pub struct SpeedDecision {
pub speed: f64,
pub constraint: SpeedConstraint,
}Expand description
Speed chosen by a queue policy.
Fields§
§speed: f64Selected speed in meters per second.
constraint: SpeedConstraintConstraint that determined the selected speed.
Trait Implementations§
Source§impl Clone for SpeedDecision
impl Clone for SpeedDecision
Source§fn clone(&self) -> SpeedDecision
fn clone(&self) -> SpeedDecision
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 Debug for SpeedDecision
impl Debug for SpeedDecision
Source§impl PartialEq for SpeedDecision
impl PartialEq for SpeedDecision
impl Copy for SpeedDecision
impl StructuralPartialEq for SpeedDecision
Auto Trait Implementations§
impl Freeze for SpeedDecision
impl RefUnwindSafe for SpeedDecision
impl Send for SpeedDecision
impl Sync for SpeedDecision
impl Unpin for SpeedDecision
impl UnsafeUnpin for SpeedDecision
impl UnwindSafe for SpeedDecision
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