pub struct SteadyState { /* private fields */ }Expand description
What ThermalNetwork::steady_state found: a temperature per node.
A separate type rather than a Vec<Temperature> so it is read with the same Node handles
the network was built with, and so a handle from a different network is refused here too
rather than indexing into whatever sits at that position.
Implementations§
Source§impl SteadyState
impl SteadyState
Sourcepub fn temperature(&self, node: Node) -> Temperature
pub fn temperature(&self, node: Node) -> Temperature
The settled temperature of a node.
§Panics
If the handle came from a different network, for the same reason the rest of this module does: the alternative is answering a question about a node the caller did not mean.
Trait Implementations§
Source§impl Clone for SteadyState
impl Clone for SteadyState
Source§fn clone(&self) -> SteadyState
fn clone(&self) -> SteadyState
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 moreAuto Trait Implementations§
impl Freeze for SteadyState
impl RefUnwindSafe for SteadyState
impl Send for SteadyState
impl Sync for SteadyState
impl Unpin for SteadyState
impl UnsafeUnpin for SteadyState
impl UnwindSafe for SteadyState
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