pub struct ImageLeader {
pub pixel_format: u32,
pub width: u32,
pub height: u32,
pub offset_x: u32,
pub offset_y: u32,
pub padding_x: u16,
pub padding_y: u16,
}Expand description
Image fields of a leader whose payload type is an image.
Fields§
§pixel_format: u32PFNC pixel format code.
width: u32Size X in pixels.
height: u32Size Y in lines.
offset_x: u32Offset X.
offset_y: u32Offset Y.
padding_x: u16Bytes of padding at the end of each line.
padding_y: u16Bytes of padding at the end of the image.
Trait Implementations§
Source§impl Clone for ImageLeader
impl Clone for ImageLeader
impl Copy for ImageLeader
Source§impl Debug for ImageLeader
impl Debug for ImageLeader
impl Eq for ImageLeader
Source§impl PartialEq for ImageLeader
impl PartialEq for ImageLeader
impl StructuralPartialEq for ImageLeader
Auto Trait Implementations§
impl Freeze for ImageLeader
impl RefUnwindSafe for ImageLeader
impl Send for ImageLeader
impl Sync for ImageLeader
impl Unpin for ImageLeader
impl UnsafeUnpin for ImageLeader
impl UnwindSafe for ImageLeader
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