Struct basis_universal::encoding::CompressorParams [−][src]
Implementations
impl CompressorParams[src]
pub fn new() -> Self[src]
pub fn clear(&mut self)[src]
pub fn source_image_mut(&mut self, image_index: u32) -> CompressorImageRef[src]
pub fn resize_source_image_list(&mut self, size: u32)[src]
pub fn clear_source_image_list(&mut self)[src]
pub fn set_print_status_to_stdout(&mut self, print_status_to_stdout: bool)[src]
pub fn set_quality_level(&mut self, quality_level: Option<u32>)[src]
pub fn set_use_global_codebook(&mut self, use_global_codebook: bool)[src]
pub fn set_auto_use_global_codebook(&mut self, auto_use_global_codebook: bool)[src]
pub fn set_uastc(&mut self, is_uastc: bool)[src]
pub fn set_generate_mipmaps(&mut self, generate_mipmaps: bool)[src]
pub fn set_userdata(&mut self, userdata: UserData)[src]
Trait Implementations
impl Drop for CompressorParams[src]
Auto Trait Implementations
impl RefUnwindSafe for CompressorParams[src]
impl !Send for CompressorParams[src]
impl !Sync for CompressorParams[src]
impl Unpin for CompressorParams[src]
impl UnwindSafe for CompressorParams[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,