pub struct CropConfig {
pub origin: (u16, u16),
pub size: (u16, u16),
}Expand description
Crop window. Coordinates and sizes are in pixels for Pipe1/Pipe2. On Pipe0 (raw word-aligned dump) the same struct is reused but values are interpreted as 32-bit words horizontally.
Fields§
§origin: (u16, u16)Top-left origin (x, y).
size: (u16, u16)Window (width, height).
Trait Implementations§
Source§impl Clone for CropConfig
impl Clone for CropConfig
impl Copy for CropConfig
Source§impl Debug for CropConfig
impl Debug for CropConfig
impl Eq for CropConfig
Source§impl Format for CropConfig
impl Format for CropConfig
Source§impl PartialEq for CropConfig
impl PartialEq for CropConfig
impl StructuralPartialEq for CropConfig
Auto Trait Implementations§
impl Forget for CropConfig
impl Freeze for CropConfig
impl Move for CropConfig
impl RefUnwindSafe for CropConfig
impl Send for CropConfig
impl Sync for CropConfig
impl Unpin for CropConfig
impl UnsafeUnpin for CropConfig
impl UnwindSafe for CropConfig
Blanket Implementations§
impl<T, I> Binding<I, NoHandler<I>> for T
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