pub struct SpacingInput {
pub voltage: f64,
pub device_type: DeviceType,
}Expand description
Inputs for the IPC-2221C conductor spacing lookup.
Fields§
§voltage: f64Peak voltage across the conductor gap (V).
device_type: DeviceTypeIPC-2221C device type category.
Trait Implementations§
Source§impl Clone for SpacingInput
impl Clone for SpacingInput
Source§fn clone(&self) -> SpacingInput
fn clone(&self) -> SpacingInput
Returns a duplicate 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 SpacingInput
impl Debug for SpacingInput
Source§impl<'de> Deserialize<'de> for SpacingInput
impl<'de> Deserialize<'de> for SpacingInput
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 SpacingInput
impl PartialEq for SpacingInput
Source§impl Serialize for SpacingInput
impl Serialize for SpacingInput
impl StructuralPartialEq for SpacingInput
Auto Trait Implementations§
impl Freeze for SpacingInput
impl RefUnwindSafe for SpacingInput
impl Send for SpacingInput
impl Sync for SpacingInput
impl Unpin for SpacingInput
impl UnsafeUnpin for SpacingInput
impl UnwindSafe for SpacingInput
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