#[non_exhaustive]pub enum SteeringMode {
All,
OneAtATime,
}Expand description
Controls how steering messages are drained from the queue.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SteeringMode
impl Clone for SteeringMode
Source§fn clone(&self) -> SteeringMode
fn clone(&self) -> SteeringMode
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 SteeringMode
impl Debug for SteeringMode
Source§impl Default for SteeringMode
impl Default for SteeringMode
Source§fn default() -> SteeringMode
fn default() -> SteeringMode
Returns the “default value” for a type. Read more
Source§impl From<SteeringMode> for SteeringModeConfig
impl From<SteeringMode> for SteeringModeConfig
Source§fn from(m: SteeringMode) -> Self
fn from(m: SteeringMode) -> Self
Converts to this type from the input type.
Source§impl From<SteeringModeConfig> for SteeringMode
impl From<SteeringModeConfig> for SteeringMode
Source§fn from(m: SteeringModeConfig) -> Self
fn from(m: SteeringModeConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SteeringMode
impl PartialEq for SteeringMode
impl Copy for SteeringMode
impl Eq for SteeringMode
impl StructuralPartialEq for SteeringMode
Auto Trait Implementations§
impl Freeze for SteeringMode
impl RefUnwindSafe for SteeringMode
impl Send for SteeringMode
impl Sync for SteeringMode
impl Unpin for SteeringMode
impl UnsafeUnpin for SteeringMode
impl UnwindSafe for SteeringMode
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