pub struct SubBlockStatistics(/* private fields */);Expand description
This structure contains basic statistics about an CZI-document.
Implementations§
Source§impl SubBlockStatistics
impl SubBlockStatistics
pub fn new( sub_block_count: i32, min_m_index: i32, max_m_index: i32, bounding_box: IntRect, bounding_box_layer0: IntRect, dim_bounds: DimBounds, ) -> Self
pub fn get_sub_block_count(&self) -> i32
pub fn get_min_m_index(&self) -> i32
pub fn get_max_m_index(&self) -> i32
pub fn get_bounding_box(&self) -> IntRect
pub fn get_bounding_box_layer0(&self) -> IntRect
pub fn get_dim_bounds(&self) -> DimBounds
pub fn set_sub_block_count(&mut self, sub_block_count: i32)
pub fn set_min_m_index(&mut self, min_m_index: i32)
pub fn set_max_m_index(&mut self, max_m_index: i32)
pub fn set_bounding_box(&mut self, bounding_box: IntRect)
pub fn set_bounding_box_layer0(&mut self, bounding_box_layer0: IntRect)
pub fn set_dim_bounds(&mut self, dim_bounds: DimBounds)
Trait Implementations§
Source§impl Clone for SubBlockStatistics
impl Clone for SubBlockStatistics
Source§fn clone(&self) -> SubBlockStatistics
fn clone(&self) -> SubBlockStatistics
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 SubBlockStatistics
impl RefUnwindSafe for SubBlockStatistics
impl Send for SubBlockStatistics
impl Sync for SubBlockStatistics
impl Unpin for SubBlockStatistics
impl UnsafeUnpin for SubBlockStatistics
impl UnwindSafe for SubBlockStatistics
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