#[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: i32§height: i32§dual_plane: u8§weight_range: i32§weights: [u8; 64]§color_component_selector: i32§partitions: i32§partition_id: i32§color_endpoint_pairs: i32§channels: i32§color_endpoint_modes: [i32; 4]§endpoint_range: i32§endpoints: [u8; 18]Trait Implementations§
Source§impl Clone for astc_block
impl Clone for astc_block
Source§fn clone(&self) -> astc_block
fn clone(&self) -> astc_block
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 moreSource§impl Debug for astc_block
impl Debug for astc_block
impl Copy for astc_block
Auto Trait Implementations§
impl Freeze for astc_block
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§
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