Struct ArbitraryHeader
struct ArbitraryHeader { ... }
Header produced by a pam file ("Portable Arbitrary Map")
Fields
height: u32Height of the image file
width: u32Width of the image file
depth: u32Number of color channels
maxval: u32Maximum sample value within the image
tupltype: Option<ArbitraryTuplType>Color interpretation of image pixels
Implementations
impl Clone for ArbitraryHeader
fn clone(self: &Self) -> ArbitraryHeader
impl Debug for ArbitraryHeader
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Freeze for ArbitraryHeader
impl RefUnwindSafe for ArbitraryHeader
impl Send for ArbitraryHeader
impl Sync for ArbitraryHeader
impl Unpin for ArbitraryHeader
impl UnsafeUnpin for ArbitraryHeader
impl UnwindSafe for ArbitraryHeader
impl<T> Any for ArbitraryHeader
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ArbitraryHeader
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ArbitraryHeader
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ArbitraryHeader
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ArbitraryHeader
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for ArbitraryHeader
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToOwned for ArbitraryHeader
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ArbitraryHeader
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ArbitraryHeader
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ArbitraryHeader
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>