[−][src]Struct plotters_piston::PistonBackend
Implementations
impl<'a, 'b> PistonBackend<'a, 'b>
[src]
Trait Implementations
impl<'a, 'b> DrawingBackend for PistonBackend<'a, 'b>
[src]
type ErrorType = DummyBackendError
The error type reported by the backend
fn get_size(&self) -> (u32, u32)
[src]
fn ensure_prepared(&mut self) -> Result<(), DrawingErrorKind<DummyBackendError>>
[src]
fn present(&mut self) -> Result<(), DrawingErrorKind<DummyBackendError>>
[src]
fn draw_pixel(
&mut self,
point: BackendCoord,
color: BackendColor
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
point: BackendCoord,
color: BackendColor
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_line<S: BackendStyle>(
&mut self,
from: BackendCoord,
to: BackendCoord,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
from: BackendCoord,
to: BackendCoord,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_rect<S: BackendStyle>(
&mut self,
upper_left: BackendCoord,
bottom_right: BackendCoord,
style: &S,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
upper_left: BackendCoord,
bottom_right: BackendCoord,
style: &S,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_circle<S: BackendStyle>(
&mut self,
center: BackendCoord,
radius: u32,
style: &S,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
center: BackendCoord,
radius: u32,
style: &S,
fill: bool
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
fn draw_path<S, I>(
&mut self,
path: I,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
I: IntoIterator<Item = (i32, i32)>,
S: BackendStyle,
[src]
&mut self,
path: I,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
I: IntoIterator<Item = (i32, i32)>,
S: BackendStyle,
fn fill_polygon<S, I>(
&mut self,
vert: I,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
I: IntoIterator<Item = (i32, i32)>,
S: BackendStyle,
[src]
&mut self,
vert: I,
style: &S
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
I: IntoIterator<Item = (i32, i32)>,
S: BackendStyle,
fn draw_text<TStyle>(
&mut self,
text: &str,
style: &TStyle,
pos: (i32, i32)
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
TStyle: BackendTextStyle,
[src]
&mut self,
text: &str,
style: &TStyle,
pos: (i32, i32)
) -> Result<(), DrawingErrorKind<Self::ErrorType>> where
TStyle: BackendTextStyle,
fn estimate_text_size<TStyle>(
&self,
text: &str,
style: &TStyle
) -> Result<(u32, u32), DrawingErrorKind<Self::ErrorType>> where
TStyle: BackendTextStyle,
[src]
&self,
text: &str,
style: &TStyle
) -> Result<(u32, u32), DrawingErrorKind<Self::ErrorType>> where
TStyle: BackendTextStyle,
fn blit_bitmap(
&mut self,
pos: (i32, i32),
(u32, u32),
src: &'a [u8]
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
[src]
&mut self,
pos: (i32, i32),
(u32, u32),
src: &'a [u8]
) -> Result<(), DrawingErrorKind<Self::ErrorType>>
Auto Trait Implementations
impl<'a, 'b> !RefUnwindSafe for PistonBackend<'a, 'b>
impl<'a, 'b> Send for PistonBackend<'a, 'b>
impl<'a, 'b> !Sync for PistonBackend<'a, 'b>
impl<'a, 'b> Unpin for PistonBackend<'a, 'b> where
'a: 'b,
'a: 'b,
impl<'a, 'b> !UnwindSafe for PistonBackend<'a, 'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,