pub struct D2DBitmap { /* private fields */ }
Trait Implementations§
Source§impl BitmapBackend for D2DBitmap
impl BitmapBackend for D2DBitmap
type DeviceContextType = D2DDeviceContext
type CanvasType = D2DCanvas
fn new( _context: Option<&Self::DeviceContextType>, width: usize, height: usize, pixel_format: BitmapPixelFormat, canvas: &Self::CanvasType, ) -> Result<Self, GraphicsError>
fn from_buffer( _context: Option<&Self::DeviceContextType>, buffer: &[u8], pitch: usize, width: usize, height: usize, pixel_format: BitmapPixelFormat, canvas: &Self::CanvasType, ) -> Result<Self, GraphicsError>
Auto Trait Implementations§
impl Freeze for D2DBitmap
impl RefUnwindSafe for D2DBitmap
impl Send for D2DBitmap
impl Sync for D2DBitmap
impl Unpin for D2DBitmap
impl UnwindSafe for D2DBitmap
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