Struct audio_processor_testing_helpers::charts::Cross
source · [−]pub struct Cross<Coord, Size> where
Size: SizeDesc, { /* private fields */ }
Expand description
Describe a cross
Implementations
Trait Implementations
sourceimpl<Coord, DB, Size> Drawable<DB, BackendCoordOnly> for Cross<Coord, Size> where
DB: DrawingBackend,
Size: SizeDesc,
impl<Coord, DB, Size> Drawable<DB, BackendCoordOnly> for Cross<Coord, Size> where
DB: DrawingBackend,
Size: SizeDesc,
sourcefn draw<I>(
&self,
points: I,
backend: &mut DB,
ps: (u32, u32)
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
I: Iterator<Item = (i32, i32)>,
fn draw<I>(
&self,
points: I,
backend: &mut DB,
ps: (u32, u32)
) -> Result<(), DrawingErrorKind<<DB as DrawingBackend>::ErrorType>> where
I: Iterator<Item = (i32, i32)>,
Actually draws the element. The key points is already translated into the image coordinate and can be used by DC directly Read more
sourceimpl<'a, Coord, Size> PointCollection<'a, Coord, BackendCoordOnly> for &'a Cross<Coord, Size> where
Coord: 'a,
Size: SizeDesc,
impl<'a, Coord, Size> PointCollection<'a, Coord, BackendCoordOnly> for &'a Cross<Coord, Size> where
Coord: 'a,
Size: SizeDesc,
sourceimpl<Coord, Size> PointElement<Coord, Size> for Cross<Coord, Size> where
Size: SizeDesc,
impl<Coord, Size> PointElement<Coord, Size> for Cross<Coord, Size> where
Size: SizeDesc,
fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Cross<Coord, Size>
Auto Trait Implementations
impl<Coord, Size> RefUnwindSafe for Cross<Coord, Size> where
Coord: RefUnwindSafe,
Size: RefUnwindSafe,
impl<Coord, Size> Send for Cross<Coord, Size> where
Coord: Send,
Size: Send,
impl<Coord, Size> Sync for Cross<Coord, Size> where
Coord: Sync,
Size: Sync,
impl<Coord, Size> Unpin for Cross<Coord, Size> where
Coord: Unpin,
Size: Unpin,
impl<Coord, Size> UnwindSafe for Cross<Coord, Size> where
Coord: UnwindSafe,
Size: UnwindSafe,
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
sourceimpl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for T where
T: 'b + Drawable<DB, BackendCoordOnly>,
Coord: Clone,
DB: DrawingBackend,
&'a T: for<'a> PointCollection<'a, Coord, BackendCoordOnly>,
impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for T where
T: 'b + Drawable<DB, BackendCoordOnly>,
Coord: Clone,
DB: DrawingBackend,
&'a T: for<'a> PointCollection<'a, Coord, BackendCoordOnly>,
sourcefn into_dyn(self) -> DynElement<'b, DB, Coord>
fn into_dyn(self) -> DynElement<'b, DB, Coord>
Make the conversion