pub struct ImageFormat {
pub mode: ImageMode,
pub size: (usize, usize),
pub rotation: ImageRotation,
pub mirror: ImageMirroring,
}Expand description
Image format used by the Stream Deck
Fields§
§mode: ImageModeImage format/mode
size: (usize, usize)Image size
rotation: ImageRotationImage rotation
mirror: ImageMirroringImage mirroring
Trait Implementations§
Source§impl Clone for ImageFormat
impl Clone for ImageFormat
Source§fn clone(&self) -> ImageFormat
fn clone(&self) -> ImageFormat
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 moreSource§impl Debug for ImageFormat
impl Debug for ImageFormat
Source§impl Default for ImageFormat
impl Default for ImageFormat
Source§impl Hash for ImageFormat
impl Hash for ImageFormat
impl Copy for ImageFormat
Auto Trait Implementations§
impl Freeze for ImageFormat
impl RefUnwindSafe for ImageFormat
impl Send for ImageFormat
impl Sync for ImageFormat
impl Unpin for ImageFormat
impl UnwindSafe for ImageFormat
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