Struct RungOccupancy
pub struct RungOccupancy {
pub resource: u64,
pub values: Vec<f64>,
}Expand description
One rung of a RungTable: the resource level and every value that reached
it.
Fields§
§resource: u64The rung’s resource level.
values: Vec<f64>The occupants’ objective values, in trial-number order (the order
StudyView iterates).
Trait Implementations§
§impl Clone for RungOccupancy
impl Clone for RungOccupancy
§fn clone(&self) -> RungOccupancy
fn clone(&self) -> RungOccupancy
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 more§impl Debug for RungOccupancy
impl Debug for RungOccupancy
§impl<'de> Deserialize<'de> for RungOccupancy
impl<'de> Deserialize<'de> for RungOccupancy
§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
§impl PartialEq for RungOccupancy
impl PartialEq for RungOccupancy
§impl Serialize for RungOccupancy
impl Serialize for RungOccupancy
impl StructuralPartialEq for RungOccupancy
Auto Trait Implementations§
impl Freeze for RungOccupancy
impl RefUnwindSafe for RungOccupancy
impl Send for RungOccupancy
impl Sync for RungOccupancy
impl Unpin for RungOccupancy
impl UnsafeUnpin for RungOccupancy
impl UnwindSafe for RungOccupancy
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