[][src]Struct rt_graph::View

pub struct View {
    pub zoom_x: f64,
    pub last_drawn_t: Time,
    pub last_drawn_x: u32,
    pub min_t: Time,
    pub max_t: Time,
    pub mode: ViewMode,
}

Describes what is currently showing on the graph.

Fields

zoom_x: f64

Zoom level, in units of t per x pixel

last_drawn_t: Time

The most recently drawn time value.

last_drawn_x: u32

The most recently drawn x pixel.

min_t: Time

The longest ago time value that is still stored. Note that the oldest data is discarded to keep memory usage bounded.

max_t: Time

The most recent time value.

mode: ViewMode

The display mode.

Trait Implementations

impl Clone for View[src]

impl Debug for View[src]

Auto Trait Implementations

impl RefUnwindSafe for View

impl Send for View

impl Sync for View

impl Unpin for View

impl UnwindSafe for View

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,