Enum transvec::CopyNot[][src]

pub enum CopyNot<I, O, A: Allocator> {
    Copy(Vec<O, A>),
    Not(Vec<O, AlignmentCorrectorAllocator<I, O, A>>),
}
Expand description

Whether or not a copy occured. Also the copy variant doesn’t have the custom allocator, and is therefore one usize smaller.

Variants

Copy(Vec<O, A>)

Copy occured.

Tuple Fields of Copy

0: Vec<O, A>

There was no copy.

Tuple Fields of Not

0: Vec<O, AlignmentCorrectorAllocator<I, O, A>>

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.