pub struct PAMHeader {
pub width: NonZeroU32,
pub height: NonZeroU32,
pub depth: u8,
pub max: u8,
pub tupltype: Type,
}
Expand description
Header for PAM images.
Fields§
§width: NonZeroU32
§height: NonZeroU32
§depth: u8
Channel count
max: u8
Max value
tupltype: Type
Data type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PAMHeader
impl RefUnwindSafe for PAMHeader
impl Send for PAMHeader
impl Sync for PAMHeader
impl Unpin for PAMHeader
impl UnwindSafe for PAMHeader
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