#[repr(C)]pub struct g2d_surface {Show 13 fields
pub format: g2d_format,
pub planes: [g2d_phys_addr_t; 3],
pub left: c_int,
pub top: c_int,
pub right: c_int,
pub bottom: c_int,
pub stride: c_int,
pub width: c_int,
pub height: c_int,
pub blendfunc: g2d_blend_func,
pub global_alpha: c_int,
pub clrcolor: c_int,
pub rot: g2d_rotation,
}Fields§
§format: g2d_format§planes: [g2d_phys_addr_t; 3]§left: c_int§top: c_int§right: c_int§bottom: c_int§stride: c_int< buffer stride, in Pixels
width: c_int< surface width, in Pixels
height: c_int< surface height, in Pixels
blendfunc: g2d_blend_func< alpha blending parameters
global_alpha: c_int< value is 0 ~ 255
clrcolor: c_int§rot: g2d_rotationTrait Implementations§
Source§impl Clone for g2d_surface
impl Clone for g2d_surface
Source§fn clone(&self) -> g2d_surface
fn clone(&self) -> g2d_surface
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 g2d_surface
impl Debug for g2d_surface
impl Copy for g2d_surface
Auto Trait Implementations§
impl Freeze for g2d_surface
impl RefUnwindSafe for g2d_surface
impl Send for g2d_surface
impl Sync for g2d_surface
impl Unpin for g2d_surface
impl UnwindSafe for g2d_surface
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