#[non_exhaustive]pub enum SankeyAlign {
Left,
Right,
Center,
Justify,
}Expand description
Which column a node goes to, among those its flows allow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Left
As far left as its flows allow.
Right
As far right as its flows allow.
Center
Like Self::Left, except that a node with nothing coming in sits right
before the first thing it feeds.
Justify
Like Self::Left, except that a node with nothing going out goes to the last
column.
Trait Implementations§
Source§impl Clone for SankeyAlign
impl Clone for SankeyAlign
Source§fn clone(&self) -> SankeyAlign
fn clone(&self) -> SankeyAlign
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 moreimpl Copy for SankeyAlign
Source§impl Debug for SankeyAlign
impl Debug for SankeyAlign
Source§impl Default for SankeyAlign
impl Default for SankeyAlign
Source§fn default() -> SankeyAlign
fn default() -> SankeyAlign
Returns the “default value” for a type. Read more
impl Eq for SankeyAlign
Source§impl PartialEq for SankeyAlign
impl PartialEq for SankeyAlign
impl StructuralPartialEq for SankeyAlign
Auto Trait Implementations§
impl Freeze for SankeyAlign
impl RefUnwindSafe for SankeyAlign
impl Send for SankeyAlign
impl Sync for SankeyAlign
impl Unpin for SankeyAlign
impl UnsafeUnpin for SankeyAlign
impl UnwindSafe for SankeyAlign
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