#[non_exhaustive]pub struct PlaneSlot {Show 17 fields
pub plane_id: u32,
pub crtc_id: u32,
pub fb_id_prop: u32,
pub crtc_id_prop: u32,
pub crtc_x_prop: u32,
pub crtc_y_prop: u32,
pub crtc_w_prop: u32,
pub crtc_h_prop: u32,
pub src_x_prop: u32,
pub src_y_prop: u32,
pub src_w_prop: u32,
pub src_h_prop: u32,
pub blend_mode_prop: u32,
pub blend_mode_value: u64,
pub alpha_prop: u32,
pub zpos_prop: u32,
pub zpos_value: u64,
}Expand description
The property ids for one reserved plane, and what to write to the ones whose values do not come from the surface.
Ids rather than names because the caller resolves them once; a zero id means the plane does not expose that property, which is why the optional ones are checked rather than assumed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.plane_id: u32The plane.
crtc_id: u32The CRTC to bind it to when armed.
fb_id_prop: u32FB_ID.
crtc_id_prop: u32CRTC_ID.
crtc_x_prop: u32CRTC_X.
crtc_y_prop: u32CRTC_Y.
crtc_w_prop: u32CRTC_W.
crtc_h_prop: u32CRTC_H.
src_x_prop: u32SRC_X.
src_y_prop: u32SRC_Y.
src_w_prop: u32SRC_W.
src_h_prop: u32SRC_H.
blend_mode_prop: u32pixel blend mode, zero where absent.
blend_mode_value: u64What to write to it.
alpha_prop: u32alpha, zero where absent.
zpos_prop: u32zpos, zero where absent.
zpos_value: u64What to write to it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlaneSlot
impl RefUnwindSafe for PlaneSlot
impl Send for PlaneSlot
impl Sync for PlaneSlot
impl Unpin for PlaneSlot
impl UnsafeUnpin for PlaneSlot
impl UnwindSafe for PlaneSlot
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