pub struct FrameRenderer { /* private fields */ }
Implementations§
Source§impl FrameRenderer
impl FrameRenderer
pub fn new() -> Self
pub fn with_config(config: FrameRendererConfig) -> Self
pub fn get_mut_config(&mut self) -> &mut FrameRendererConfig
pub fn render<C>( &mut self, command: C, buf: &mut Vec<u8>, ) -> Result<(), FrameRenderError>
Trait Implementations§
Source§impl Clone for FrameRenderer
impl Clone for FrameRenderer
Source§fn clone(&self) -> FrameRenderer
fn clone(&self) -> FrameRenderer
Returns a copy 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 FrameRenderer
impl Debug for FrameRenderer
Source§impl Default for FrameRenderer
impl Default for FrameRenderer
Source§fn default() -> FrameRenderer
fn default() -> FrameRenderer
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FrameRenderer
impl RefUnwindSafe for FrameRenderer
impl Send for FrameRenderer
impl Sync for FrameRenderer
impl Unpin for FrameRenderer
impl UnwindSafe for FrameRenderer
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)