pub struct NullWindowRenderer { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for NullWindowRenderer
impl Clone for NullWindowRenderer
Source§fn clone(&self) -> NullWindowRenderer
fn clone(&self) -> NullWindowRenderer
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 Default for NullWindowRenderer
impl Default for NullWindowRenderer
Source§fn default() -> NullWindowRenderer
fn default() -> NullWindowRenderer
Returns the “default value” for a type. Read more
Source§impl WindowRenderer for NullWindowRenderer
impl WindowRenderer for NullWindowRenderer
type ScenePainter<'a> = NullScenePainter where Self: 'a
fn resume(&mut self, _window: Arc<dyn WindowHandle>, _width: u32, _height: u32)
fn suspend(&mut self)
fn is_active(&self) -> bool
fn set_size(&mut self, _width: u32, _height: u32)
fn render<F: FnOnce(&mut Self::ScenePainter<'_>)>(&mut self, _draw_fn: F)
impl Copy for NullWindowRenderer
Auto Trait Implementations§
impl Freeze for NullWindowRenderer
impl RefUnwindSafe for NullWindowRenderer
impl Send for NullWindowRenderer
impl Sync for NullWindowRenderer
impl Unpin for NullWindowRenderer
impl UnwindSafe for NullWindowRenderer
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