Skip to main content

Ipc2152Input

Struct Ipc2152Input 

Source
pub struct Ipc2152Input {
    pub width: f64,
    pub thickness: f64,
    pub length: f64,
    pub temperature_rise: f64,
    pub ambient_temp: f64,
    pub frequency: f64,
    pub etch_factor: EtchFactor,
    pub is_internal: bool,
    pub board_thickness_mils: f64,
    pub has_copper_plane: bool,
    pub material_modifier: f64,
    pub user_modifier: f64,
}
Expand description

Inputs for IPC-2152 conductor current capacity calculation.

Fields§

§width: f64

Trace width (mils).

§thickness: f64

Copper thickness (mils).

§length: f64

Trace length (mils).

§temperature_rise: f64

Allowed temperature rise above ambient (°C).

§ambient_temp: f64

Ambient temperature (°C).

§frequency: f64

Frequency (Hz). 0 = DC only.

§etch_factor: EtchFactor

Etch factor.

§is_internal: bool

Whether the trace is on an internal layer.

§board_thickness_mils: f64

Board thickness (mils).

§has_copper_plane: bool

Whether the board has an adjacent copper plane.

§material_modifier: f64

Material thermal conductivity modifier (default 1.0).

§user_modifier: f64

User-supplied modifier (default 1.0).

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.