pub struct ResolutionScale {
pub width_scale: f32,
pub height_scale: f32,
}Expand description
Resolution multiplier for a pass (relative to its declared resource sizes).
Fields§
§width_scale: f32§height_scale: f32Implementations§
Trait Implementations§
Source§impl Clone for ResolutionScale
impl Clone for ResolutionScale
Source§fn clone(&self) -> ResolutionScale
fn clone(&self) -> ResolutionScale
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolutionScale
impl Debug for ResolutionScale
impl Copy for ResolutionScale
Auto Trait Implementations§
impl Freeze for ResolutionScale
impl RefUnwindSafe for ResolutionScale
impl Send for ResolutionScale
impl Sync for ResolutionScale
impl Unpin for ResolutionScale
impl UnsafeUnpin for ResolutionScale
impl UnwindSafe for ResolutionScale
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