pub struct TriangleMarker<Coord, Size: SizeDesc> { /* private fields */ }
Expand description
Describe a triangle marker
Implementations§
Source§impl<Coord, Size: SizeDesc> TriangleMarker<Coord, Size>
impl<Coord, Size: SizeDesc> TriangleMarker<Coord, Size>
pub fn new<T: Into<ShapeStyle>>(coord: Coord, size: Size, style: T) -> Self
Trait Implementations§
Source§impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for TriangleMarker<Coord, Size>
impl<Coord, DB: DrawingBackend, Size: SizeDesc> Drawable<DB> for TriangleMarker<Coord, Size>
Source§impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord> for &'a TriangleMarker<Coord, Size>
impl<'a, Coord: 'a, Size: SizeDesc> PointCollection<'a, Coord> for &'a TriangleMarker<Coord, Size>
Source§impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for TriangleMarker<Coord, Size>
impl<Coord, Size: SizeDesc> PointElement<Coord, Size> for TriangleMarker<Coord, Size>
fn make_point(pos: Coord, size: Size, style: ShapeStyle) -> Self
Auto Trait Implementations§
impl<Coord, Size> Freeze for TriangleMarker<Coord, Size>
impl<Coord, Size> RefUnwindSafe for TriangleMarker<Coord, Size>where
Coord: RefUnwindSafe,
Size: RefUnwindSafe,
impl<Coord, Size> Send for TriangleMarker<Coord, Size>
impl<Coord, Size> Sync for TriangleMarker<Coord, Size>
impl<Coord, Size> Unpin for TriangleMarker<Coord, Size>
impl<Coord, Size> UnwindSafe for TriangleMarker<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