Struct tgraph::GraphOptions
source · [−]pub struct GraphOptions {
pub color: ColorWrapper,
pub character: Character,
pub height_legend: bool,
pub scales: Scales,
}
Fields
color: ColorWrapper
character: Character
height_legend: bool
scales: Scales
Implementations
sourceimpl GraphOptions
impl GraphOptions
sourcepub fn builder() -> GraphOptionsBuilder<((), (), (), ())>
pub fn builder() -> GraphOptionsBuilder<((), (), (), ())>
Create a builder for building GraphOptions
.
On the builder, call .color(...)
(optional), .character(...)
(optional), .height_legend(...)
(optional), .scales(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GraphOptions
.
Trait Implementations
sourceimpl Debug for GraphOptions
impl Debug for GraphOptions
Auto Trait Implementations
impl RefUnwindSafe for GraphOptions
impl Send for GraphOptions
impl Sync for GraphOptions
impl Unpin for GraphOptions
impl UnwindSafe for GraphOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more