Struct audio_processor_testing_helpers::charts::Circle
source · pub struct Circle<Coord, Size>where
Size: SizeDesc,{ /* private fields */ }
Expand description
A circle element
Implementations§
source§impl<Coord, Size> Circle<Coord, Size>where
Size: SizeDesc,
impl<Coord, Size> Circle<Coord, Size>where
Size: SizeDesc,
sourcepub fn new<S>(coord: Coord, size: Size, style: S) -> Circle<Coord, Size>where
S: Into<ShapeStyle>,
pub fn new<S>(coord: Coord, size: Size, style: S) -> Circle<Coord, Size>where
S: Into<ShapeStyle>,
Create a new circle element
coord
The center of the circlesize
The radius of the circlestyle
The style of the circle- Return: The newly created circle element
Trait Implementations§
source§impl<Coord, DB, Size> Drawable<DB> for Circle<Coord, Size>where
DB: DrawingBackend,
Size: SizeDesc,
impl<Coord, DB, Size> Drawable<DB> for Circle<Coord, Size>where
DB: DrawingBackend,
Size: SizeDesc,
source§impl<'a, Coord, Size> PointCollection<'a, Coord> for &'a Circle<Coord, Size>where
Size: SizeDesc,
impl<'a, Coord, Size> PointCollection<'a, Coord> for &'a Circle<Coord, Size>where
Size: SizeDesc,
source§impl<Coord, Size> PointElement<Coord, Size> for Circle<Coord, Size>where
Size: SizeDesc,
impl<Coord, Size> PointElement<Coord, Size> for Circle<Coord, Size>where
Size: SizeDesc,
source§fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Circle<Coord, Size>
fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Circle<Coord, Size>
Point creator. Read more
Auto Trait Implementations§
impl<Coord, Size> RefUnwindSafe for Circle<Coord, Size>where
Coord: RefUnwindSafe,
Size: RefUnwindSafe,
impl<Coord, Size> Send for Circle<Coord, Size>
impl<Coord, Size> Sync for Circle<Coord, Size>
impl<Coord, Size> Unpin for Circle<Coord, Size>
impl<Coord, Size> UnwindSafe for Circle<Coord, Size>where
Coord: UnwindSafe,
Size: 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
source§impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for Twhere
T: Drawable<DB> + 'b,
&'a T: for<'a> PointCollection<'a, Coord>,
Coord: Clone,
DB: DrawingBackend,
impl<'b, T, DB, Coord> IntoDynElement<'b, DB, Coord> for Twhere
T: Drawable<DB> + 'b,
&'a T: for<'a> PointCollection<'a, Coord>,
Coord: Clone,
DB: DrawingBackend,
source§fn into_dyn(self) -> DynElement<'b, DB, Coord>
fn into_dyn(self) -> DynElement<'b, DB, Coord>
Make the conversion