pub struct Node { /* private fields */ }
Implementations§
Source§impl Node
impl Node
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 label(self, label: Vec<&str>) -> Self
pub fn line(self, line: Line) -> Self
pub fn pad(self, pad: usize) -> Self
pub fn thickness(self, thickness: usize) -> Self
pub fn x(self, x: f64) -> Self
pub fn y(self, y: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl !RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl !UnwindSafe for Node
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