pub struct RenderFrame { /* private fields */ }Implementations§
Source§impl RenderFrame
impl RenderFrame
pub fn new(size: Size, commands: Vec<RenderCommand>) -> Self
pub fn size(&self) -> Size
pub fn commands(&self) -> &[RenderCommand]
pub fn into_commands(self) -> Vec<RenderCommand>
Trait Implementations§
Source§impl Clone for RenderFrame
impl Clone for RenderFrame
Source§fn clone(&self) -> RenderFrame
fn clone(&self) -> RenderFrame
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 RenderFrame
impl Debug for RenderFrame
Source§impl PartialEq for RenderFrame
impl PartialEq for RenderFrame
impl StructuralPartialEq for RenderFrame
Auto Trait Implementations§
impl Freeze for RenderFrame
impl RefUnwindSafe for RenderFrame
impl Send for RenderFrame
impl Sync for RenderFrame
impl Unpin for RenderFrame
impl UnsafeUnpin for RenderFrame
impl UnwindSafe for RenderFrame
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