pub struct CriticalPath {
pub tensors: Vec<usize>,
pub nodes: Vec<usize>,
pub length: f64,
}Expand description
Critical path analysis result.
Fields§
§tensors: Vec<usize>Tensors on the critical path
nodes: Vec<usize>Nodes on the critical path
length: f64Total length (sum of weights) of the critical path
Trait Implementations§
Source§impl Clone for CriticalPath
impl Clone for CriticalPath
Source§fn clone(&self) -> CriticalPath
fn clone(&self) -> CriticalPath
Returns a duplicate 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 Debug for CriticalPath
impl Debug for CriticalPath
Source§impl<'de> Deserialize<'de> for CriticalPath
impl<'de> Deserialize<'de> for CriticalPath
Source§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
Source§impl PartialEq for CriticalPath
impl PartialEq for CriticalPath
Source§impl Serialize for CriticalPath
impl Serialize for CriticalPath
impl StructuralPartialEq for CriticalPath
Auto Trait Implementations§
impl Freeze for CriticalPath
impl RefUnwindSafe for CriticalPath
impl Send for CriticalPath
impl Sync for CriticalPath
impl Unpin for CriticalPath
impl UnwindSafe for CriticalPath
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