#[repr(C)]pub struct gpujpeg_component_sampling_factor {
pub horizontal: u8,
pub vertical: u8,
}Expand description
Sampling factor for color component in JPEG format
Fields§
§horizontal: u8§vertical: u8Trait Implementations§
Source§impl Clone for gpujpeg_component_sampling_factor
impl Clone for gpujpeg_component_sampling_factor
Source§fn clone(&self) -> gpujpeg_component_sampling_factor
fn clone(&self) -> gpujpeg_component_sampling_factor
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 moreimpl Copy for gpujpeg_component_sampling_factor
Auto Trait Implementations§
impl Freeze for gpujpeg_component_sampling_factor
impl RefUnwindSafe for gpujpeg_component_sampling_factor
impl Send for gpujpeg_component_sampling_factor
impl Sync for gpujpeg_component_sampling_factor
impl Unpin for gpujpeg_component_sampling_factor
impl UnwindSafe for gpujpeg_component_sampling_factor
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