pub struct Graph { /* private fields */ }
Implementations§
Source§impl Graph
impl Graph
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn name<S: Into<String>>(self, name: S) -> Self
pub fn legend_hover_link(self, legend_hover_link: bool) -> Self
pub fn coordinate_system(self, coordinate_system: CoordinateSystem) -> Self
pub fn x_axis_index(self, x_axis_index: u64) -> Self
pub fn y_axis_index(self, y_axis_index: u64) -> Self
pub fn polar_axis_index(self, polar_axis_index: u64) -> Self
pub fn geo_index(self, geo_index: u64) -> Self
pub fn calendar_index(self, calendar_index: u64) -> Self
pub fn layout(self, layout: GraphLayout) -> Self
pub fn circular(self, circular: GraphLayoutCircular) -> Self
pub fn force(self, force: GraphLayoutForce) -> Self
pub fn roam(self, roam: bool) -> Self
pub fn label(self, label: Label) -> Self
pub fn label_layout(self, label_layout: LabelLayout) -> Self
pub fn scale_limit(self, scale_limit: ScaleLimit) -> Self
pub fn line_style(self, line_style: LineStyle) -> Self
pub fn data(self, data: GraphData) -> Self
pub fn edge_symbol(self, edge_symbol: Option<(String, String)>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnwindSafe for Graph
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> 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