pub struct Attributes {Show 13 fields
pub bits_per_component_in_memory: u32,
pub bits_per_component_significant: u32,
pub component_count: u32,
pub height_px: u32,
pub pixel_data_type: PixelDataType,
pub sequence_count: u32,
pub width_bytes: Option<u32>,
pub width_px: Option<u32>,
pub compression_level: Option<f64>,
pub compression_type: Option<CompressionType>,
pub tile_height_px: Option<u32>,
pub tile_width_px: Option<u32>,
pub channel_count: Option<u32>,
}Fields§
§bits_per_component_in_memory: u32§bits_per_component_significant: u32§component_count: u32§height_px: u32§pixel_data_type: PixelDataType§sequence_count: u32§width_bytes: Option<u32>§width_px: Option<u32>§compression_level: Option<f64>§compression_type: Option<CompressionType>§tile_height_px: Option<u32>§tile_width_px: Option<u32>§channel_count: Option<u32>Trait Implementations§
Source§impl Clone for Attributes
impl Clone for Attributes
Source§fn clone(&self) -> Attributes
fn clone(&self) -> Attributes
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 Attributes
impl Debug for Attributes
Source§impl<'de> Deserialize<'de> for Attributes
impl<'de> Deserialize<'de> for Attributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Attributes
impl PartialEq for Attributes
Source§impl Serialize for Attributes
impl Serialize for Attributes
impl StructuralPartialEq for Attributes
Auto Trait Implementations§
impl Freeze for Attributes
impl RefUnwindSafe for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Unpin for Attributes
impl UnsafeUnpin for Attributes
impl UnwindSafe for Attributes
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