pub struct TranscodeParameters {
pub image_index: u32,
pub level_index: u32,
pub decode_flags: Option<DecodeFlags>,
pub output_row_pitch_in_blocks_or_pixels: Option<u32>,
pub output_rows_in_pixels: Option<u32>,
}
Expand description
Extra parameters for transcoding an image
Fields§
§image_index: u32
The image to transcode
level_index: u32
The mip level of the image to transcode
decode_flags: Option<DecodeFlags>
Optional flags can affect transcoding in various ways
output_row_pitch_in_blocks_or_pixels: Option<u32>
Optional override for row pitch
output_rows_in_pixels: Option<u32>
Optional override for number of rows to transcode
Trait Implementations§
Source§impl Clone for TranscodeParameters
impl Clone for TranscodeParameters
Source§fn clone(&self) -> TranscodeParameters
fn clone(&self) -> TranscodeParameters
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 TranscodeParameters
impl Debug for TranscodeParameters
Source§impl Default for TranscodeParameters
impl Default for TranscodeParameters
Source§fn default() -> TranscodeParameters
fn default() -> TranscodeParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TranscodeParameters
impl RefUnwindSafe for TranscodeParameters
impl Send for TranscodeParameters
impl Sync for TranscodeParameters
impl Unpin for TranscodeParameters
impl UnwindSafe for TranscodeParameters
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