Enum librashader::presets::ScaleFactor
source · pub enum ScaleFactor {
Float(f32),
Absolute(i32),
}
Available on crate feature
presets
only.Expand description
The scaling factor for framebuffer scaling.
Variants§
Trait Implementations§
source§impl Clone for ScaleFactor
impl Clone for ScaleFactor
source§fn clone(&self) -> ScaleFactor
fn clone(&self) -> ScaleFactor
Returns a copy 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 ScaleFactor
impl Debug for ScaleFactor
source§impl Default for ScaleFactor
impl Default for ScaleFactor
source§fn default() -> ScaleFactor
fn default() -> ScaleFactor
Returns the “default value” for a type. Read more
impl Copy for ScaleFactor
Auto Trait Implementations§
impl RefUnwindSafe for ScaleFactor
impl Send for ScaleFactor
impl Sync for ScaleFactor
impl Unpin for ScaleFactor
impl UnwindSafe for ScaleFactor
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
source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.