pub enum WindingType {
Standard,
CenterTap,
PushPull,
}Expand description
Transformer winding configuration.
Variants§
Standard
Standard two-terminal winding
CenterTap
Center-tapped winding (adds .ct terminal)
PushPull
Push-pull primary (two halves with center tap for B+)
Trait Implementations§
Source§impl Clone for WindingType
impl Clone for WindingType
Source§fn clone(&self) -> WindingType
fn clone(&self) -> WindingType
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 WindingType
Source§impl Debug for WindingType
impl Debug for WindingType
Source§impl Default for WindingType
impl Default for WindingType
Source§fn default() -> WindingType
fn default() -> WindingType
Returns the “default value” for a type. Read more
impl Eq for WindingType
Source§impl PartialEq for WindingType
impl PartialEq for WindingType
Source§fn eq(&self, other: &WindingType) -> bool
fn eq(&self, other: &WindingType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WindingType
Auto Trait Implementations§
impl Freeze for WindingType
impl RefUnwindSafe for WindingType
impl Send for WindingType
impl Sync for WindingType
impl Unpin for WindingType
impl UnsafeUnpin for WindingType
impl UnwindSafe for WindingType
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
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
Compare self to
key and return true if they are equal.