Enum PlanarConfiguration

#[non_exhaustive]
#[repr(u16)]
pub enum PlanarConfiguration

Variants

Chunky = 1
Planar = 2

Implementations

impl PlanarConfiguration

const fn from_u16(val: u16) -> Option<Self>
const fn to_u16(&self) -> u16

Trait Implementations

impl Clone for PlanarConfiguration

fn clone(&self) -> PlanarConfiguration

impl Copy for PlanarConfiguration

impl Debug for PlanarConfiguration

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for PlanarConfiguration

impl Hash for PlanarConfiguration

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for PlanarConfiguration

fn eq(&self, other: &PlanarConfiguration) -> bool

impl StructuralPartialEq for PlanarConfiguration

impl TiffValue for PlanarConfiguration

const BYTE_LEN: u8 = 2;
const FIELD_TYPE: Type = Type::SHORT;
fn count(&self) -> usize
fn data(&self) -> Cow<'_, [u8]>

Auto Trait Implementations

impl Freeze for PlanarConfiguration

impl RefUnwindSafe for PlanarConfiguration

impl Send for PlanarConfiguration

impl Sync for PlanarConfiguration

impl Unpin for PlanarConfiguration

impl UnsafeUnpin for PlanarConfiguration

impl UnwindSafe for PlanarConfiguration

Blanket Implementations

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for PlanarConfiguration where ST: ?Sized, DT: ?Sized,

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for PlanarConfiguration where ST: ?Sized, DT: ?Sized,

impl<T> Any for PlanarConfiguration where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for PlanarConfiguration where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for PlanarConfiguration where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for PlanarConfiguration where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for PlanarConfiguration

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Read<Exclusive, BecauseExclusive> for PlanarConfiguration where T: ?Sized,

impl<T> ToOwned for PlanarConfiguration where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T, U> Into<U> for PlanarConfiguration where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for PlanarConfiguration where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for PlanarConfiguration where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>