Struct ispc_texcomp::bindings::kernel_astc::astc_block
source · [−]#[repr(C)]pub struct astc_block {Show 13 fields
pub width: i32,
pub height: i32,
pub dual_plane: u8,
pub weight_range: i32,
pub weights: [u8; 64],
pub color_component_selector: i32,
pub partitions: i32,
pub partition_id: i32,
pub color_endpoint_pairs: i32,
pub channels: i32,
pub color_endpoint_modes: [i32; 4],
pub endpoint_range: i32,
pub endpoints: [u8; 18],
}Fields
width: i32height: i32dual_plane: u8weight_range: i32weights: [u8; 64]color_component_selector: i32partitions: i32partition_id: i32color_endpoint_pairs: i32channels: i32color_endpoint_modes: [i32; 4]endpoint_range: i32endpoints: [u8; 18]Trait Implementations
sourceimpl Clone for astc_block
impl Clone for astc_block
sourcefn clone(&self) -> astc_block
fn clone(&self) -> astc_block
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for astc_block
impl Debug for astc_block
impl Copy for astc_block
Auto Trait Implementations
impl RefUnwindSafe for astc_block
impl Send for astc_block
impl Sync for astc_block
impl Unpin for astc_block
impl UnwindSafe for astc_block
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more