pub enum YDataRange<T>{
Min2Max,
Zero2Max,
Custom(T, T),
}
Expand description
Used to set the range type of the y-axis
Variants§
Min2Max
Use the maximum and minimum values of the data given
Zero2Max
Between 0 and the maximum of the data given
Custom(T, T)
Trait Implementations§
Source§impl<T> Clone for YDataRange<T>
impl<T> Clone for YDataRange<T>
Source§fn clone(&self) -> YDataRange<T>
fn clone(&self) -> YDataRange<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T> Debug for YDataRange<T>
impl<T> Debug for YDataRange<T>
impl<T> Copy for YDataRange<T>
Auto Trait Implementations§
impl<T> Freeze for YDataRange<T>where
T: Freeze,
impl<T> RefUnwindSafe for YDataRange<T>where
T: RefUnwindSafe,
impl<T> Send for YDataRange<T>where
T: Send,
impl<T> Sync for YDataRange<T>where
T: Sync,
impl<T> Unpin for YDataRange<T>where
T: Unpin,
impl<T> UnwindSafe for YDataRange<T>where
T: UnwindSafe,
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