Struct turbojpeg_sys::tjscalingfactor
source · #[repr(C)]pub struct tjscalingfactor {
pub num: c_int,
pub denom: c_int,
}
Expand description
Scaling factor
Fields§
§num: c_int
Numerator
denom: c_int
Denominator
Trait Implementations§
source§impl Clone for tjscalingfactor
impl Clone for tjscalingfactor
source§fn clone(&self) -> tjscalingfactor
fn clone(&self) -> tjscalingfactor
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 tjscalingfactor
impl Debug for tjscalingfactor
impl Copy for tjscalingfactor
Auto Trait Implementations§
impl RefUnwindSafe for tjscalingfactor
impl Send for tjscalingfactor
impl Sync for tjscalingfactor
impl Unpin for tjscalingfactor
impl UnwindSafe for tjscalingfactor
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