pub struct LoweringInput {
pub display: DisplayParams,
pub format: SourceFormat,
pub binding: BindingModel,
pub fb_id: u32,
pub crtc_id: u32,
pub default_zpos: Option<u64>,
}Expand description
Everything lower_layer needs about a layer, without borrowing the scene.
Fields§
§display: DisplayParamsHow to display the buffer.
format: SourceFormatWhat the buffer is.
binding: BindingModelWho owns the FB_ID write.
fb_id: u32The framebuffer this frame, ignored for a driver-owned binding.
crtc_id: u32The CRTC this scene drives.
default_zpos: Option<u64>A stacking position to use when the caller set none.
The scene itself passes None; with this and the layer’s own zpos
both unset, zpos is not written.
Trait Implementations§
Source§impl Clone for LoweringInput
impl Clone for LoweringInput
impl Copy for LoweringInput
Auto Trait Implementations§
impl Freeze for LoweringInput
impl RefUnwindSafe for LoweringInput
impl Send for LoweringInput
impl Sync for LoweringInput
impl Unpin for LoweringInput
impl UnsafeUnpin for LoweringInput
impl UnwindSafe for LoweringInput
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