pub struct CodeBlockAddress {
pub layer: u16,
pub resolution: u8,
pub component: u16,
pub precinct: u32,
}Expand description
Address of a code block within the codestream, identified by the four progression dimensions: layer, resolution, component, precinct.
Fields§
§layer: u16Quality layer index (0-based)
resolution: u8Resolution level index (0-based)
component: u16Component index (0-based)
precinct: u32Precinct index within this resolution level (0-based)
Trait Implementations§
Source§impl Clone for CodeBlockAddress
impl Clone for CodeBlockAddress
Source§fn clone(&self) -> CodeBlockAddress
fn clone(&self) -> CodeBlockAddress
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 CodeBlockAddress
impl Debug for CodeBlockAddress
Source§impl PartialEq for CodeBlockAddress
impl PartialEq for CodeBlockAddress
impl Eq for CodeBlockAddress
impl StructuralPartialEq for CodeBlockAddress
Auto Trait Implementations§
impl Freeze for CodeBlockAddress
impl RefUnwindSafe for CodeBlockAddress
impl Send for CodeBlockAddress
impl Sync for CodeBlockAddress
impl Unpin for CodeBlockAddress
impl UnsafeUnpin for CodeBlockAddress
impl UnwindSafe for CodeBlockAddress
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