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
sourceimpl Clone for StealthConfiguration
impl Clone for StealthConfiguration
sourcefn clone(&self) -> StealthConfiguration
fn clone(&self) -> StealthConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for StealthConfiguration
impl Debug for StealthConfiguration
sourceimpl Default for StealthConfiguration
impl Default for StealthConfiguration
sourcefn default() -> StealthConfiguration
fn default() -> StealthConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for StealthConfiguration
impl FromByteSlice for StealthConfiguration
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> StealthConfiguration
fn from_le_bytes(bytes: &[u8]) -> StealthConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for StealthConfiguration
impl Hash for StealthConfiguration
sourceimpl PartialEq<StealthConfiguration> for StealthConfiguration
impl PartialEq<StealthConfiguration> for StealthConfiguration
sourcefn eq(&self, other: &StealthConfiguration) -> bool
fn eq(&self, other: &StealthConfiguration) -> bool
impl Copy for StealthConfiguration
impl Eq for StealthConfiguration
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more