pub struct SankeyNode {
pub id: String,
pub label: String,
pub color: Option<String>,
pub column: Option<usize>,
}Expand description
A node in a Sankey diagram.
Fields§
§id: String§label: String§color: Option<String>§column: Option<usize>Trait Implementations§
Source§impl Clone for SankeyNode
impl Clone for SankeyNode
Source§fn clone(&self) -> SankeyNode
fn clone(&self) -> SankeyNode
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 moreAuto Trait Implementations§
impl Freeze for SankeyNode
impl RefUnwindSafe for SankeyNode
impl Send for SankeyNode
impl Sync for SankeyNode
impl Unpin for SankeyNode
impl UnsafeUnpin for SankeyNode
impl UnwindSafe for SankeyNode
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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.