Struct librashader::presets::Scaling
source · pub struct Scaling {
pub scale_type: ScaleType,
pub factor: ScaleFactor,
}
Available on crate feature
presets
only.Expand description
Framebuffer scaling parameters.
Fields§
§scale_type: ScaleType
The method to scale the framebuffer with.
factor: ScaleFactor
The factor to scale by.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Scaling
impl Send for Scaling
impl Sync for Scaling
impl Unpin for Scaling
impl UnwindSafe for Scaling
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