Struct rustiff::ImageHeader [−][src]
pub struct ImageHeader { /* fields omitted */ }
Methods
impl ImageHeader
[src]
impl ImageHeader
pub fn new(
width: u32,
height: u32,
compression: Compression,
interpretation: PhotometricInterpretation,
bits_per_sample: BitsPerSample
) -> Result<ImageHeader, ImageHeaderError>
[src]
pub fn new(
width: u32,
height: u32,
compression: Compression,
interpretation: PhotometricInterpretation,
bits_per_sample: BitsPerSample
) -> Result<ImageHeader, ImageHeaderError>
pub fn width(&self) -> u32
[src]
pub fn width(&self) -> u32
pub fn height(&self) -> u32
[src]
pub fn height(&self) -> u32
pub fn bits_per_sample(&self) -> BitsPerSample
[src]
pub fn bits_per_sample(&self) -> BitsPerSample
pub fn compression(&self) -> Compression
[src]
pub fn compression(&self) -> Compression
pub fn photometric_interpretation(&self) -> PhotometricInterpretation
[src]
pub fn photometric_interpretation(&self) -> PhotometricInterpretation
Trait Implementations
impl Debug for ImageHeader
[src]
impl Debug for ImageHeader
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ImageHeader
[src]
impl Clone for ImageHeader
fn clone(&self) -> ImageHeader
[src]
fn clone(&self) -> ImageHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ImageHeader
impl Send for ImageHeader
impl Sync for ImageHeader
impl Sync for ImageHeader