pub struct SvPowerFlow<'a>(pub &'a Object);Expand description
State variable for power flow. Load convention is used for flow direction. This means flow out from the TopologicalNode into the equipment is positive.
Tuple Fields§
§0: &'a ObjectImplementations§
Source§impl<'a> SvPowerFlow<'a>
impl<'a> SvPowerFlow<'a>
Sourcepub fn terminal(&self) -> Option<TypedRef<Terminal<'static>>>
pub fn terminal(&self) -> Option<TypedRef<Terminal<'static>>>
The terminal associated with the power flow state variable.
Sourcepub fn terminal_in<'d>(&self, dataset: &'d Dataset) -> Option<Terminal<'d>>
pub fn terminal_in<'d>(&self, dataset: &'d Dataset) -> Option<Terminal<'d>>
Resolve Terminal through dataset.
Trait Implementations§
Source§impl<'a> Clone for SvPowerFlow<'a>
impl<'a> Clone for SvPowerFlow<'a>
impl<'a> Copy for SvPowerFlow<'a>
Source§impl<'a> Debug for SvPowerFlow<'a>
impl<'a> Debug for SvPowerFlow<'a>
Source§impl<'a> TypedView<'a> for SvPowerFlow<'a>
impl<'a> TypedView<'a> for SvPowerFlow<'a>
Source§fn from_object(o: &'a Object) -> Self
fn from_object(o: &'a Object) -> Self
Wrap an object without checking its class.
Auto Trait Implementations§
impl<'a> Forget for SvPowerFlow<'a>
impl<'a> Freeze for SvPowerFlow<'a>
impl<'a> Move for SvPowerFlow<'a>
impl<'a> RefUnwindSafe for SvPowerFlow<'a>
impl<'a> Send for SvPowerFlow<'a>
impl<'a> Sync for SvPowerFlow<'a>
impl<'a> Unpin for SvPowerFlow<'a>
impl<'a> UnsafeUnpin for SvPowerFlow<'a>where
&'a Object: UnsafeUnpin,
impl<'a> UnwindSafe for SvPowerFlow<'a>where
&'a Object: UnwindSafe,
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