pub struct MiscConfiguration {
pub disable_short_to_ground_protection: bool,
pub synchronize_phase_frequency: u8,
}
Fields§
§disable_short_to_ground_protection: bool
§synchronize_phase_frequency: u8
Trait Implementations§
source§impl Clone for MiscConfiguration
impl Clone for MiscConfiguration
source§fn clone(&self) -> MiscConfiguration
fn clone(&self) -> MiscConfiguration
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 MiscConfiguration
impl Debug for MiscConfiguration
source§impl Default for MiscConfiguration
impl Default for MiscConfiguration
source§fn default() -> MiscConfiguration
fn default() -> MiscConfiguration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for MiscConfiguration
impl FromByteSlice for MiscConfiguration
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]) -> MiscConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> MiscConfiguration
Deserialize the implementing type from a byte slice.
source§impl Hash for MiscConfiguration
impl Hash for MiscConfiguration
source§impl PartialEq for MiscConfiguration
impl PartialEq for MiscConfiguration
source§fn eq(&self, other: &MiscConfiguration) -> bool
fn eq(&self, other: &MiscConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MiscConfiguration
impl Eq for MiscConfiguration
impl StructuralPartialEq for MiscConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for MiscConfiguration
impl Send for MiscConfiguration
impl Sync for MiscConfiguration
impl Unpin for MiscConfiguration
impl UnwindSafe for MiscConfiguration
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