pub struct OverlayTarget<'a> {
pub device: &'a Device,
pub queue: &'a Queue,
pub view: &'a TextureView,
pub format: TextureFormat,
pub size: Size,
}Expand description
What an overlay draws into (SurfaceTarget::set_overlay): the frame’s
surface texture, after the map and before it is presented.
Fields§
§device: &'a Device§queue: &'a Queue§view: &'a TextureView§format: TextureFormat§size: SizeIn physical pixels.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for OverlayTarget<'a>
impl<'a> !UnwindSafe for OverlayTarget<'a>
impl<'a> Forget for OverlayTarget<'a>
impl<'a> Freeze for OverlayTarget<'a>
impl<'a> Move for OverlayTarget<'a>
impl<'a> Send for OverlayTarget<'a>
impl<'a> Sync for OverlayTarget<'a>
impl<'a> Unpin for OverlayTarget<'a>
impl<'a> UnsafeUnpin for OverlayTarget<'a>
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