pub struct Output {
pub target: PassTarget,
pub size: UVec2,
}Expand description
Where a frame is shown: the window, or a render target.
Fields§
§target: PassTargetThe target. It must be TextureFormat::Rgba8Srgb, as the window
is.
size: UVec2Its size in pixels: for the window, its drawable size.
Trait Implementations§
impl Copy for Output
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Forget for Output
impl Freeze for Output
impl Move for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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