Struct keeshond::renderer::NullDrawControl [−][src]
(ADVANCED) Null rendering backend, for automatic tests that don’t need sound
Implementations
impl NullDrawControl
[src]
pub fn new_headless() -> NullDrawControl
[src]
Trait Implementations
impl DrawControl for NullDrawControl
[src]
fn new(renderer_new_info: &mut RendererNewInfo<'_>) -> DrawControlResult where
Self: Sized,
[src]
Self: Sized,
fn base_rect(&self) -> BakedRect<f32>
[src]
fn screen_transform(&self) -> &DrawTransform
[src]
fn sync_sheet_store(
&mut self,
sheet_store: &mut DataStore<Sheet>
) -> Result<(), PreparedStoreError>
[src]
&mut self,
sheet_store: &mut DataStore<Sheet>
) -> Result<(), PreparedStoreError>
fn sync_shader_store(
&mut self,
shader_store: &mut DataStore<Shader>
) -> Result<(), PreparedStoreError>
[src]
&mut self,
shader_store: &mut DataStore<Shader>
) -> Result<(), PreparedStoreError>
fn draw_sprite(&mut self, draw_info: &DrawSpriteInfo)
[src]
fn draw_sprite_raw(&mut self, draw_info: &DrawSpriteRawInfo)
[src]
fn draw_background_color(&mut self, draw_info: &DrawBackgroundColorInfo)
[src]
fn recalculate_viewport(&mut self, base_width: f32, base_height: f32)
[src]
fn start_drawing(&mut self)
[src]
fn end_drawing(&mut self)
[src]
fn present(&mut self)
[src]
Auto Trait Implementations
impl RefUnwindSafe for NullDrawControl
impl Send for NullDrawControl
impl Sync for NullDrawControl
impl Unpin for NullDrawControl
impl UnwindSafe for NullDrawControl
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
[src]
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
pub fn as_any(&self) -> &(dyn Any + 'static)
[src]
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[src]
T: Send + Sync + Any,
impl<T> Erased for T
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,