Enum vpk0::LzssBackend[][src]

pub enum LzssBackend {
    Brute,
    Kmp,
    KmpAhead,
}

The algorithm used to find matches when encoding a vpk0 file

Variants

Brute

Naive, brute force search. Works well for matching Nintendo

Kmp

Search with the Knuth–Morris–Pratt algorithm.

KmpAhead

Nintendo matching search with a modified, slower Knuth–Morris–Pratt algorithm

Trait Implementations

impl Clone for LzssBackend[src]

impl Copy for LzssBackend[src]

impl Debug for LzssBackend[src]

impl Eq for LzssBackend[src]

impl Hash for LzssBackend[src]

impl PartialEq<LzssBackend> for LzssBackend[src]

impl StructuralEq for LzssBackend[src]

impl StructuralPartialEq for LzssBackend[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.