[−][src]Struct rt_graph::ConfigBuilder
Builder for Config
.
Implementations
impl ConfigBuilder
[src]
pub fn base_zoom_x(self, value: f64) -> Self
[src]
Maximum zoom out, in units of t per x pixel
pub fn max_zoom_x(self, value: f64) -> Self
[src]
Maximum zoom in, in units of t per x pixel
pub fn graph_width(self, value: u32) -> Self
[src]
Graph width in pixels
pub fn graph_height(self, value: u32) -> Self
[src]
Graph height in pixels
pub fn windows_to_store(self, value: u32) -> Self
[src]
How many windows width of data to store at maximum zoom out.
pub fn point_style(self, value: PointStyle) -> Self
[src]
The style of point to draw
pub fn build(self) -> Result<Config, String>
[src]
impl ConfigBuilder
[src]
pub fn data_source<T: DataSource + 'static>(self, ds: T) -> Self
[src]
The data source for the graph.
Trait Implementations
impl Default for ConfigBuilder
[src]
fn default() -> ConfigBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl !Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl !UnwindSafe for ConfigBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,