pub trait AsyncDisplayExt: AsyncDisplay {
// Provided methods
fn put_ximage(
&mut self,
image: &Image<impl AsRef<[u8]>>,
drawable: impl Into<Drawable>,
gc: impl Into<Gcontext>,
dst_x: i16,
dst_y: i16,
) -> SendRequest<'_, Self, ()> { ... }
fn put_ximage_checked(
&mut self,
image: &Image<impl AsRef<[u8]>>,
drawable: impl Into<Drawable>,
gc: impl Into<Gcontext>,
dst_x: i16,
dst_y: i16,
) -> CheckedSendRequest<'_, Self, ()> { ... }
fn put_subimage(
&mut self,
image: &Image<impl AsRef<[u8]>>,
drawable: impl Into<Drawable>,
gc: impl Into<Gcontext>,
src_x: usize,
src_y: usize,
width: usize,
height: usize,
dst_x: i16,
dst_y: i16,
) -> SendRequestRaw<'_, Self> { ... }
}Provided Methods§
Sourcefn put_ximage(
&mut self,
image: &Image<impl AsRef<[u8]>>,
drawable: impl Into<Drawable>,
gc: impl Into<Gcontext>,
dst_x: i16,
dst_y: i16,
) -> SendRequest<'_, Self, ()>
fn put_ximage( &mut self, image: &Image<impl AsRef<[u8]>>, drawable: impl Into<Drawable>, gc: impl Into<Gcontext>, dst_x: i16, dst_y: i16, ) -> SendRequest<'_, Self, ()>
Send an Image to the display.
fn put_ximage_checked( &mut self, image: &Image<impl AsRef<[u8]>>, drawable: impl Into<Drawable>, gc: impl Into<Gcontext>, dst_x: i16, dst_y: i16, ) -> CheckedSendRequest<'_, Self, ()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.