Struct cfg::history::HistoryNodeWeight
source · pub struct HistoryNodeWeight {
pub prev: HistoryId,
pub weight: f64,
}
Fields§
§prev: HistoryId
§weight: f64
Trait Implementations§
source§impl Clone for HistoryNodeWeight
impl Clone for HistoryNodeWeight
source§fn clone(&self) -> HistoryNodeWeight
fn clone(&self) -> HistoryNodeWeight
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl From<HistoryNodeWeight> for HistoryNode
impl From<HistoryNodeWeight> for HistoryNode
source§fn from(value: HistoryNodeWeight) -> Self
fn from(value: HistoryNodeWeight) -> Self
Converts to this type from the input type.
impl Copy for HistoryNodeWeight
Auto Trait Implementations§
impl RefUnwindSafe for HistoryNodeWeight
impl Send for HistoryNodeWeight
impl Sync for HistoryNodeWeight
impl Unpin for HistoryNodeWeight
impl UnwindSafe for HistoryNodeWeight
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