pub struct StealthConfiguration {
pub enable_stealth: bool,
pub amplitude: u8,
pub gradient: u8,
pub enable_autoscale: bool,
pub force_symmetric: bool,
pub freewheel_mode: u8,
}
Fields§
§enable_stealth: bool
§amplitude: u8
§gradient: u8
§enable_autoscale: bool
§force_symmetric: bool
§freewheel_mode: u8
Trait Implementations§
source§impl Clone for StealthConfiguration
impl Clone for StealthConfiguration
source§fn clone(&self) -> StealthConfiguration
fn clone(&self) -> StealthConfiguration
Returns a copy 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 StealthConfiguration
impl Debug for StealthConfiguration
source§impl Default for StealthConfiguration
impl Default for StealthConfiguration
source§fn default() -> StealthConfiguration
fn default() -> StealthConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for StealthConfiguration
impl FromByteSlice for StealthConfiguration
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> StealthConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> StealthConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for StealthConfiguration
impl Hash for StealthConfiguration
source§impl PartialEq for StealthConfiguration
impl PartialEq for StealthConfiguration
source§fn eq(&self, other: &StealthConfiguration) -> bool
fn eq(&self, other: &StealthConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StealthConfiguration
impl Eq for StealthConfiguration
impl StructuralPartialEq for StealthConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for StealthConfiguration
impl Send for StealthConfiguration
impl Sync for StealthConfiguration
impl Unpin for StealthConfiguration
impl UnwindSafe for StealthConfiguration
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