Struct basis_universal::transcoding::TranscodeParameters
source · 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: u32The image to transcode
level_index: u32The 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 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