Struct NoneMore

pub struct NoneMore;

No more recursion. Can be used within any Recursive<NoneMore, YourValue> type.

Trait Implementations

impl CheckDuplicates for NoneMore

fn already_contains(&self, &Text) -> bool

impl Clone for NoneMore

fn clone(&self) -> Self

impl Copy for NoneMore

impl Debug for NoneMore

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

impl Default for NoneMore

fn default() -> Self

impl Eq for NoneMore

impl IntoNonRecursive for NoneMore

type NonRecursive = ();
fn into_non_recursive(self) -> Self::NonRecursive

impl IntoRecursive for NoneMore

type Recursive = NoneMore;
fn into_recursive(self) -> Self::Recursive

impl LayersWriter for NoneMore

fn extract_uncompressed_block(&self, &[Header], BlockIndex) -> Vec<u8>

Panics

Panics if called, as this indicates a recursive length mismatch bug where a block is being extracted for a layer index that doesn't exist in the recursive layer structure.

impl PartialEq for NoneMore

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

impl ReadSpecificChannel for NoneMore

type RecursivePixelReader = NoneMore;
fn create_recursive_reader(&self, &ChannelList) -> Result<Self::RecursivePixelReader>

impl RecursivePixelReader for NoneMore

type RecursiveChannelDescriptions = NoneMore;
type RecursivePixel = NoneMore;
fn get_descriptions(&self) -> Self::RecursiveChannelDescriptions
fn read_pixels<FullPixel>(&self, &[u8], &mut [FullPixel], impl Fn(&mut FullPixel) -> &mut Self)

impl RecursivePixelWriter<NoneMore> for NoneMore

fn write_pixels<FullPixel>(&self, &mut [u8], &[FullPixel], impl Fn(&FullPixel) -> &Self)

impl StructuralPartialEq for NoneMore

impl ValidateResult for NoneMore

fn validate_result(&self, &Self, ValidationOptions, impl Fn() -> String) -> ValidationResult

impl WritableChannelsDescription<NoneMore> for NoneMore

type RecursiveWriter = NoneMore;
fn create_recursive_writer(&self, &ChannelList) -> Self::RecursiveWriter
fn channel_descriptions_list(&self) -> SmallVec<[ChannelDescription; 5]>

impl<'slf> WritableLayers<'slf> for NoneMore

type Writer = NoneMore;
fn infer_headers(&self, &ImageAttributes) -> Headers
fn create_writer(&'slf self, &[Header]) -> Self::Writer

Auto Trait Implementations

impl Freeze for NoneMore

impl RefUnwindSafe for NoneMore

impl Send for NoneMore

impl Sync for NoneMore

impl Unpin for NoneMore

impl UnsafeUnpin for NoneMore

impl UnwindSafe for NoneMore

Blanket Implementations

impl<I> IntoTuple<<I as IntoNonRecursive>::NonRecursive> for NoneMore where I: IntoNonRecursive,

fn into_tuple(self) -> <I as IntoNonRecursive>::NonRecursive

impl<R, P> ReadPrimitive<R> for NoneMore where R: Read + ReadEndian<P>, P: Default,

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

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

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for NoneMore

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Pointable for NoneMore

const ALIGN: usize = _;
type Init = T;
unsafe fn init(init: <T as Pointable>::Init) -> usize
unsafe fn deref<'a>(ptr: usize) -> &'a T
unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
unsafe fn drop(ptr: usize)

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

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

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

impl<T, U> Into<U> for NoneMore 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 NoneMore where U: Into<T>,

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

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

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