pub struct RenderResolution {
pub width: u32,
pub height: u32,
}Expand description
The largest size the frames of a spatial layer are rendered at (render_resolutions).
Fields§
§width: u32Width in pixels, 1 to 65536.
height: u32Height in pixels, 1 to 65536.
Trait Implementations§
Source§impl Clone for RenderResolution
impl Clone for RenderResolution
impl Copy for RenderResolution
Source§impl Debug for RenderResolution
impl Debug for RenderResolution
impl Eq for RenderResolution
Source§impl PartialEq for RenderResolution
impl PartialEq for RenderResolution
impl StructuralPartialEq for RenderResolution
Auto Trait Implementations§
impl Forget for RenderResolution
impl Freeze for RenderResolution
impl Move for RenderResolution
impl RefUnwindSafe for RenderResolution
impl Send for RenderResolution
impl Sync for RenderResolution
impl Unpin for RenderResolution
impl UnsafeUnpin for RenderResolution
impl UnwindSafe for RenderResolution
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