pub struct BitmapInfo(/* private fields */);Expand description
Information about the bitmap represented by a bitmap-object.
Implementations§
Source§impl BitmapInfo
impl BitmapInfo
pub fn new(width: u32, height: u32, pixel_type: PixelType) -> Self
pub fn get_width(&self) -> u32
pub fn get_height(&self) -> u32
pub fn get_pixel_type(&self) -> Result<PixelType, Error>
pub fn set_width(&mut self, width: u32)
pub fn set_height(&mut self, height: u32)
pub fn set_pixel_type(&mut self, pixel_type: PixelType)
Trait Implementations§
Source§impl Clone for BitmapInfo
impl Clone for BitmapInfo
Source§fn clone(&self) -> BitmapInfo
fn clone(&self) -> BitmapInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BitmapInfo
impl RefUnwindSafe for BitmapInfo
impl Send for BitmapInfo
impl Sync for BitmapInfo
impl Unpin for BitmapInfo
impl UnsafeUnpin for BitmapInfo
impl UnwindSafe for BitmapInfo
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