Struct framebuffer_compositor::FrameCompositor
source · pub struct FrameCompositor { /* private fields */ }
Expand description
The framebuffer compositor structure. It caches framebuffer rows since last update as soft states for better performance.
Trait Implementations§
source§impl Compositor for FrameCompositor
impl Compositor for FrameCompositor
source§fn composite<'a, B: CompositableRegion + Clone, P: 'a + Pixel>(
&mut self,
src_fbs: impl IntoIterator<Item = FramebufferUpdates<'a, P>>,
dest_fb: &mut Framebuffer<P>,
dest_bounding_boxes: impl IntoIterator<Item = B> + Clone
) -> Result<(), &'static str>
fn composite<'a, B: CompositableRegion + Clone, P: 'a + Pixel>( &mut self, src_fbs: impl IntoIterator<Item = FramebufferUpdates<'a, P>>, dest_fb: &mut Framebuffer<P>, dest_bounding_boxes: impl IntoIterator<Item = B> + Clone ) -> Result<(), &'static str>
Composites the framebuffers in the list of source framebuffers
src_fbs
onto the destination framebuffer dest_fb
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for FrameCompositor
impl Send for FrameCompositor
impl Sync for FrameCompositor
impl Unpin for FrameCompositor
impl UnwindSafe for FrameCompositor
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