pub struct Label<'a, M: Meta> {
pub costs: f64,
pub node: NodeIndex,
pub extended_along_edge: Option<EdgeIndex>,
pub parent: Option<&'a Label<'a, M>>,
pub meta: M,
/* private fields */
}
Expand description
Internal label struct used during algorithm Holds cost used for domination and LabelMeta used for resource tracking
Fields§
§costs: f64
§node: NodeIndex
§extended_along_edge: Option<EdgeIndex>
§parent: Option<&'a Label<'a, M>>
§meta: M
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, M> !Freeze for Label<'a, M>
impl<'a, M> !RefUnwindSafe for Label<'a, M>
impl<'a, M> !Send for Label<'a, M>
impl<'a, M> !Sync for Label<'a, M>
impl<'a, M> Unpin for Label<'a, M>where
M: Unpin,
impl<'a, M> !UnwindSafe for Label<'a, M>
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