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
sourceimpl Clone for MiscConfiguration
impl Clone for MiscConfiguration
sourcefn clone(&self) -> MiscConfiguration
fn clone(&self) -> MiscConfiguration
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 MiscConfiguration
impl Debug for MiscConfiguration
sourceimpl Default for MiscConfiguration
impl Default for MiscConfiguration
sourcefn default() -> MiscConfiguration
fn default() -> MiscConfiguration
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for MiscConfiguration
impl FromByteSlice for MiscConfiguration
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]) -> MiscConfiguration
fn from_le_bytes(bytes: &[u8]) -> MiscConfiguration
Deserialize the implementing type from a byte slice.
sourceimpl Hash for MiscConfiguration
impl Hash for MiscConfiguration
sourceimpl PartialEq<MiscConfiguration> for MiscConfiguration
impl PartialEq<MiscConfiguration> for MiscConfiguration
sourcefn eq(&self, other: &MiscConfiguration) -> bool
fn eq(&self, other: &MiscConfiguration) -> bool
impl Copy for MiscConfiguration
impl Eq for MiscConfiguration
impl StructuralEq 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
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