pub struct SubBlockInfo(/* private fields */);Expand description
This structure contains the information about a sub-block.
Implementations§
Source§impl SubBlockInfo
impl SubBlockInfo
pub fn new( compression_mode_raw: i32, pixel_type: PixelType, coordinate: Coordinate, logical_rect: IntRect, physical_size: IntSize, m_index: i32, ) -> Self
pub fn get_compression_mode_raw(&self) -> i32
pub fn get_pixel_type(&self) -> Result<PixelType, Error>
pub fn get_coordinate(&self) -> Coordinate
pub fn get_logical_rect(&self) -> IntRect
pub fn get_physical_size(&self) -> IntSize
pub fn get_m_index(&self) -> i32
pub fn set_compression_mode_raw(&mut self, compression_mode_raw: i32)
pub fn set_pixel_type(&mut self, pixel_type: PixelType)
pub fn set_coordinate(&mut self, coordinate: Coordinate)
pub fn set_logical_rect(&mut self, logical_rect: IntRect)
pub fn set_physical_size(&mut self, physical_size: IntSize)
pub fn set_m_index(&mut self, m_index: i32)
Trait Implementations§
Source§impl Clone for SubBlockInfo
impl Clone for SubBlockInfo
Source§fn clone(&self) -> SubBlockInfo
fn clone(&self) -> SubBlockInfo
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 moreAuto Trait Implementations§
impl Freeze for SubBlockInfo
impl RefUnwindSafe for SubBlockInfo
impl Send for SubBlockInfo
impl Sync for SubBlockInfo
impl Unpin for SubBlockInfo
impl UnsafeUnpin for SubBlockInfo
impl UnwindSafe for SubBlockInfo
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