pub struct RfPort {
pub num: u32,
pub z0: f64,
}Expand description
An ngspice RF port (vsrc.c under RFSPICE, ngspice-47):
PORTNUM num Z0 z0. The source is a port only when num > 0
and z0 > 0 (VSRCtemp); otherwise the field is inert. The
ports of a circuit must be numbered 1..=N without gaps or
duplicates.
Fields§
§num: u32Port index, 1-based (VSRCportNum).
z0: f64Reference impedance in ohms (VSRCportZ0; 50 on a card that
gives none).
Trait Implementations§
impl Copy for RfPort
impl StructuralPartialEq for RfPort
Auto Trait Implementations§
impl Forget for RfPort
impl Freeze for RfPort
impl Move for RfPort
impl RefUnwindSafe for RfPort
impl Send for RfPort
impl Sync for RfPort
impl Unpin for RfPort
impl UnsafeUnpin for RfPort
impl UnwindSafe for RfPort
Blanket Implementations§
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