pub enum TestCodec {
None,
Lzma,
Lz4,
Lz4Hc,
Raw(u8),
}Expand description
A block codec, as the flags’ low six bits name it.
Variants§
None
Lzma
1: LZMA “alone” props + data, as Unity writes it (no size field).
Lz4
2: LZ4 block.
Lz4Hc
3: written as plain LZ4 (the decoder is the same).
Raw(u8)
Any id, with the data stored as is (for refusal tests).
Implementations§
Trait Implementations§
impl Copy for TestCodec
impl Eq for TestCodec
impl StructuralPartialEq for TestCodec
Auto Trait Implementations§
impl Forget for TestCodec
impl Freeze for TestCodec
impl Move for TestCodec
impl RefUnwindSafe for TestCodec
impl Send for TestCodec
impl Sync for TestCodec
impl Unpin for TestCodec
impl UnsafeUnpin for TestCodec
impl UnwindSafe for TestCodec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more