pub struct ViewTarget {
pub view: ViewId,
pub target: ImageId,
pub extent: (u32, u32),
}Expand description
Where one secondary view’s frame goes — see
ForwardRenderer::add_passes_with_views.
Fields§
§view: ViewIdThe view to draw. Never ViewId::PRIMARY, whose target is the one the
call itself takes.
target: ImageIdThe image the view’s frame ends in, imported into the same graph.
extent: (u32, u32)That image’s extent, which the view’s internal frame is sized from exactly as the primary’s is sized from its own.
Trait Implementations§
Source§impl Clone for ViewTarget
impl Clone for ViewTarget
impl Copy for ViewTarget
Source§impl Debug for ViewTarget
impl Debug for ViewTarget
impl Eq for ViewTarget
Source§impl PartialEq for ViewTarget
impl PartialEq for ViewTarget
impl StructuralPartialEq for ViewTarget
Auto Trait Implementations§
impl Freeze for ViewTarget
impl RefUnwindSafe for ViewTarget
impl Send for ViewTarget
impl Sync for ViewTarget
impl Unpin for ViewTarget
impl UnsafeUnpin for ViewTarget
impl UnwindSafe for ViewTarget
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