pub enum DCPolarityKind {
positive,
middle,
negative,
}Expand description
Polarity for DC circuits.
Variants§
positive
Positive pole. The converter terminal is intended to operate at a positive voltage relative the midpoint or negative terminal.
middle
Middle pole. The converter terminal is the midpoint in a bipolar or symmetric monopole configuration. The midpoint can be grounded and/or have a metallic return.
negative
Negative pole. The converter terminal is intended to operate at a negative voltage relative the midpoint or positive terminal.
Implementations§
Trait Implementations§
Source§impl Clone for DCPolarityKind
impl Clone for DCPolarityKind
Source§fn clone(&self) -> DCPolarityKind
fn clone(&self) -> DCPolarityKind
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 DCPolarityKind
impl Debug for DCPolarityKind
Source§impl<'de> Deserialize<'de> for DCPolarityKind
impl<'de> Deserialize<'de> for DCPolarityKind
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 DCPolarityKind
impl PartialEq for DCPolarityKind
Source§impl Serialize for DCPolarityKind
impl Serialize for DCPolarityKind
impl StructuralPartialEq for DCPolarityKind
Auto Trait Implementations§
impl Freeze for DCPolarityKind
impl RefUnwindSafe for DCPolarityKind
impl Send for DCPolarityKind
impl Sync for DCPolarityKind
impl Unpin for DCPolarityKind
impl UnsafeUnpin for DCPolarityKind
impl UnwindSafe for DCPolarityKind
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