pub struct Link<V>{ /* private fields */ }
Implementations§
Source§impl<V> Link<V>
impl<V> Link<V>
pub fn new() -> Self
pub fn color<C: Color>(self, color: C) -> Self
pub fn color_array<C: Color>(self, colors: Vec<C>) -> Self
pub fn hover_info(self, hover_info: HoverInfo) -> Self
pub fn hover_label(self, hover_label: Label) -> Self
pub fn hover_template(self, hover_template: &str) -> Self
pub fn line(self, line: Line) -> Self
pub fn source(self, source: Vec<usize>) -> Self
pub fn target(self, target: Vec<usize>) -> Self
pub fn value(self, target: Vec<V>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for Link<V>
impl<V> !RefUnwindSafe for Link<V>
impl<V> Send for Link<V>where
V: Send,
impl<V> Sync for Link<V>where
V: Sync,
impl<V> Unpin for Link<V>where
V: Unpin,
impl<V> !UnwindSafe for Link<V>
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