pub struct FakeRenderApi {}
Expand description
Used only for debugging, so that the AppResource garbage collection tests can run without a real RenderApi
Implementations§
Source§impl FakeRenderApi
impl FakeRenderApi
Trait Implementations§
Source§impl Clone for FakeRenderApi
impl Clone for FakeRenderApi
Source§fn clone(&self) -> FakeRenderApi
fn clone(&self) -> FakeRenderApi
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 FakeRenderApi
impl Debug for FakeRenderApi
Source§impl FontImageApi for FakeRenderApi
impl FontImageApi for FakeRenderApi
fn new_image_key(&self) -> ImageKey
fn new_font_key(&self) -> FontKey
fn new_font_instance_key(&self) -> FontInstanceKey
fn update_resources(&self, _: Vec<ResourceUpdate>)
fn flush_scene_builder(&self)
Source§impl PartialEq for FakeRenderApi
impl PartialEq for FakeRenderApi
impl Copy for FakeRenderApi
impl Eq for FakeRenderApi
impl StructuralPartialEq for FakeRenderApi
Auto Trait Implementations§
impl Freeze for FakeRenderApi
impl RefUnwindSafe for FakeRenderApi
impl Send for FakeRenderApi
impl Sync for FakeRenderApi
impl Unpin for FakeRenderApi
impl UnwindSafe for FakeRenderApi
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
)