pub enum PhysicalDomain {
Voltage,
Current,
}Expand description
Which physical quantity a BlockKind::Sig2Phys converter drives. Purely a type-level tag
for the enforcement sites in dae-runtime (DaeError::GateTargetNotSig2Voltage,
DaeError::SourceNotSig2PhysicalConverter) — evaluation itself (value = input) is
identical for both.
Variants§
Voltage
Drives a V source’s magnitude, or a GateBinding::Block target.
Current
Drives an I source’s magnitude.
Trait Implementations§
Source§impl Clone for PhysicalDomain
impl Clone for PhysicalDomain
Source§fn clone(&self) -> PhysicalDomain
fn clone(&self) -> PhysicalDomain
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 PhysicalDomain
Source§impl Debug for PhysicalDomain
impl Debug for PhysicalDomain
impl Eq for PhysicalDomain
Source§impl PartialEq for PhysicalDomain
impl PartialEq for PhysicalDomain
impl StructuralPartialEq for PhysicalDomain
Auto Trait Implementations§
impl Forget for PhysicalDomain
impl Freeze for PhysicalDomain
impl Move for PhysicalDomain
impl RefUnwindSafe for PhysicalDomain
impl Send for PhysicalDomain
impl Sync for PhysicalDomain
impl Unpin for PhysicalDomain
impl UnsafeUnpin for PhysicalDomain
impl UnwindSafe for PhysicalDomain
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