pub struct LocalDeviceSink;Expand description
Sink for a local RenderingDevice (the GPU parity tests in gpu/chunk_gpu_test.rs).
Godot frees a local device’s resources when the device itself is freed, and the device outlives them — so releasing individual RIDs is unnecessary: this is a no-op.
Implementations§
Trait Implementations§
Source§impl RidSink for LocalDeviceSink
impl RidSink for LocalDeviceSink
Source§fn free(&self, _rid: Rid)
fn free(&self, _rid: Rid)
Release
rid (possibly deferred — see MainDeviceSink).Auto Trait Implementations§
impl Freeze for LocalDeviceSink
impl RefUnwindSafe for LocalDeviceSink
impl Send for LocalDeviceSink
impl Sync for LocalDeviceSink
impl Unpin for LocalDeviceSink
impl UnsafeUnpin for LocalDeviceSink
impl UnwindSafe for LocalDeviceSink
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