Struct librashader::presets::Scale2D
source · pub struct Scale2D {
pub valid: bool,
pub x: Scaling,
pub y: Scaling,
}
Available on crate feature
presets
only.Expand description
2D quad scaling parameters.
Fields§
§valid: bool
Whether or not this combination of scaling factors is valid.
x: Scaling
Scaling parameters for the X axis.
y: Scaling
Scaling parameters for the Y axis.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Scale2D
impl Send for Scale2D
impl Sync for Scale2D
impl Unpin for Scale2D
impl UnwindSafe for Scale2D
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