pub struct GraphFrame {
pub nodes: Vec<(u32, String)>,
pub edges: Vec<Edge>,
pub cursor: usize,
pub params: Vec<Vec<ParamDescriptor>>,
pub param_values: Vec<Vec<f64>>,
pub param_groups: Vec<Vec<ParamGroup>>,
pub depths: Vec<usize>,
pub layers: Vec<Vec<usize>>,
pub has_children: Vec<bool>,
pub node_descriptions: Vec<String>,
}Expand description
Saved state when diving into a nested graph node.
Fields§
§nodes: Vec<(u32, String)>§edges: Vec<Edge>§cursor: usize§params: Vec<Vec<ParamDescriptor>>§param_values: Vec<Vec<f64>>§param_groups: Vec<Vec<ParamGroup>>§depths: Vec<usize>§layers: Vec<Vec<usize>>§has_children: Vec<bool>§node_descriptions: Vec<String>Trait Implementations§
Source§impl Clone for GraphFrame
impl Clone for GraphFrame
Source§fn clone(&self) -> GraphFrame
fn clone(&self) -> GraphFrame
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 moreAuto Trait Implementations§
impl Freeze for GraphFrame
impl RefUnwindSafe for GraphFrame
impl Send for GraphFrame
impl Sync for GraphFrame
impl Unpin for GraphFrame
impl UnsafeUnpin for GraphFrame
impl UnwindSafe for GraphFrame
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more