pub struct ElectromagneticDomain {
pub enabled: bool,
pub reference_frequency_hz: f64,
pub applied_current_a: f64,
}Fields§
§enabled: bool§reference_frequency_hz: f64§applied_current_a: f64Trait Implementations§
Source§impl Clone for ElectromagneticDomain
impl Clone for ElectromagneticDomain
Source§fn clone(&self) -> ElectromagneticDomain
fn clone(&self) -> ElectromagneticDomain
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ElectromagneticDomain
impl Debug for ElectromagneticDomain
Source§impl<'de> Deserialize<'de> for ElectromagneticDomain
impl<'de> Deserialize<'de> for ElectromagneticDomain
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ElectromagneticDomain
impl PartialEq for ElectromagneticDomain
Source§fn eq(&self, other: &ElectromagneticDomain) -> bool
fn eq(&self, other: &ElectromagneticDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ElectromagneticDomain
impl Serialize for ElectromagneticDomain
impl StructuralPartialEq for ElectromagneticDomain
Auto Trait Implementations§
impl Freeze for ElectromagneticDomain
impl RefUnwindSafe for ElectromagneticDomain
impl Send for ElectromagneticDomain
impl Sync for ElectromagneticDomain
impl Unpin for ElectromagneticDomain
impl UnsafeUnpin for ElectromagneticDomain
impl UnwindSafe for ElectromagneticDomain
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