Struct audio_processor_testing_helpers::charts::LogCoord
source · pub struct LogCoord<V>where
V: LogScalable,{ /* private fields */ }
Expand description
A log scaled coordinate axis
Trait Implementations§
source§impl<V> From<LogRangeExt<V>> for LogCoord<V>where
V: LogScalable,
impl<V> From<LogRangeExt<V>> for LogCoord<V>where
V: LogScalable,
source§impl<V> Ranged for LogCoord<V>where
V: LogScalable,
impl<V> Ranged for LogCoord<V>where
V: LogScalable,
§type FormatOption = DefaultFormatting
type FormatOption = DefaultFormatting
This marker decides if Plotters default ValueFormatter implementation should be used.
This associated type can be one of the following two types: Read more
source§fn map(&self, value: &V, limit: (i32, i32)) -> i32
fn map(&self, value: &V, limit: (i32, i32)) -> i32
This function maps the value to i32, which is the drawing coordinate
source§fn key_points<Hint>(
&self,
hint: Hint
) -> Vec<<LogCoord<V> as Ranged>::ValueType>where
Hint: KeyPointHint,
fn key_points<Hint>(
&self,
hint: Hint
) -> Vec<<LogCoord<V> as Ranged>::ValueType>where
Hint: KeyPointHint,
This function gives the key points that we can draw a grid based on this
Auto Trait Implementations§
impl<V> RefUnwindSafe for LogCoord<V>where
V: RefUnwindSafe,
impl<V> Send for LogCoord<V>where
V: Send,
impl<V> Sync for LogCoord<V>where
V: Sync,
impl<V> Unpin for LogCoord<V>where
V: Unpin,
impl<V> UnwindSafe for LogCoord<V>where
V: UnwindSafe,
Blanket Implementations§
source§impl<T> AsRangedCoord for Twhere
T: Ranged,
impl<T> AsRangedCoord for Twhere
T: Ranged,
source§impl<T> BindKeyPointMethod for Twhere
T: AsRangedCoord,
impl<T> BindKeyPointMethod for Twhere
T: AsRangedCoord,
source§fn with_key_point_func<F>(
self,
func: F
) -> WithKeyPointMethod<Self::CoordDescType>
fn with_key_point_func<F>( self, func: F ) -> WithKeyPointMethod<Self::CoordDescType>
Bind a existing coordinate spec with a given key points algorithm. See WithKeyPointMethod for more details.
Example: Read more
source§impl<T> BindKeyPoints for Twhere
T: AsRangedCoord,
impl<T> BindKeyPoints for Twhere
T: AsRangedCoord,
source§fn with_key_points(
self,
points: Vec<Self::Value>
) -> WithKeyPoints<Self::CoordDescType>
fn with_key_points( self, points: Vec<Self::Value> ) -> WithKeyPoints<Self::CoordDescType>
Bind a existing coordinate spec with a given key points vector. See WithKeyPoints for more details.
Example: Read more
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> IntoLinspace for Twhere
T: AsRangedCoord,
impl<T> IntoLinspace for Twhere
T: AsRangedCoord,
source§impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
impl<R> IntoPartialAxis for Rwhere
R: AsRangedCoord,
source§fn partial_axis(
self,
axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>
) -> PartialAxis<Self::CoordDescType>
fn partial_axis( self, axis_range: Range<<Self::CoordDescType as Ranged>::ValueType> ) -> PartialAxis<Self::CoordDescType>
Make the partial axis Read more