pub enum UnityFeature {
BigIds,
TypeTreeEnabled,
ScriptTypeTree,
RefTypes,
UnityFS,
LZ4Compression,
LZMACompression,
BrotliCompression,
ModernSerialization,
}Expand description
Unity features that depend on version
Variants§
BigIds
Support for 64-bit object IDs
TypeTreeEnabled
TypeTree is enabled by default
ScriptTypeTree
Script type tree support
RefTypes
Reference types support
UnityFS
UnityFS format support
LZ4Compression
LZ4 compression support
LZMACompression
LZMA compression support
BrotliCompression
Brotli compression support
ModernSerialization
Modern serialization format
Trait Implementations§
Source§impl Clone for UnityFeature
impl Clone for UnityFeature
Source§fn clone(&self) -> UnityFeature
fn clone(&self) -> UnityFeature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnityFeature
Source§impl Debug for UnityFeature
impl Debug for UnityFeature
impl Eq for UnityFeature
Source§impl PartialEq for UnityFeature
impl PartialEq for UnityFeature
Source§fn eq(&self, other: &UnityFeature) -> bool
fn eq(&self, other: &UnityFeature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnityFeature
Auto Trait Implementations§
impl Freeze for UnityFeature
impl RefUnwindSafe for UnityFeature
impl Send for UnityFeature
impl Sync for UnityFeature
impl Unpin for UnityFeature
impl UnsafeUnpin for UnityFeature
impl UnwindSafe for UnityFeature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.