#[non_exhaustive]pub struct DcOperatorOptions {
pub skip_zero_impedance: bool,
}Expand description
Build options for DcOperators.
The default refuses a zero impedance branch, because it has no finite DC
operator row. skip_zero_impedance drops such a branch from the operator
axis instead and records its analysis row in
DcOperators::skipped_branch_rows, the same choice
BuildOptions::skip_zero_impedance offers the admittance builders.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.skip_zero_impedance: boolDrop a zero impedance branch instead of refusing the build.
Implementations§
Source§impl DcOperatorOptions
impl DcOperatorOptions
Sourcepub const fn with_skip_zero_impedance(self, skip: bool) -> Self
pub const fn with_skip_zero_impedance(self, skip: bool) -> Self
Set whether a zero impedance branch is dropped instead of refused.
Trait Implementations§
Source§impl Clone for DcOperatorOptions
impl Clone for DcOperatorOptions
Source§fn clone(&self) -> DcOperatorOptions
fn clone(&self) -> DcOperatorOptions
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 moreimpl Copy for DcOperatorOptions
Source§impl Debug for DcOperatorOptions
impl Debug for DcOperatorOptions
Source§impl Default for DcOperatorOptions
impl Default for DcOperatorOptions
Source§fn default() -> DcOperatorOptions
fn default() -> DcOperatorOptions
Returns the “default value” for a type. Read more
impl Eq for DcOperatorOptions
Source§impl PartialEq for DcOperatorOptions
impl PartialEq for DcOperatorOptions
Source§fn eq(&self, other: &DcOperatorOptions) -> bool
fn eq(&self, other: &DcOperatorOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DcOperatorOptions
Auto Trait Implementations§
impl Freeze for DcOperatorOptions
impl RefUnwindSafe for DcOperatorOptions
impl Send for DcOperatorOptions
impl Sync for DcOperatorOptions
impl Unpin for DcOperatorOptions
impl UnsafeUnpin for DcOperatorOptions
impl UnwindSafe for DcOperatorOptions
Blanket Implementations§
impl<T> Allocation for T
impl<T> Boilerplate for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more