pub enum ValueVec<T: ArchiveType = SaveGameArchiveType> {
Show 21 variants
Int8(Vec<i8>),
Int16(Vec<i16>),
Int(Vec<i32>),
Int64(Vec<i64>),
UInt8(Vec<u8>),
UInt16(Vec<u16>),
UInt32(Vec<u32>),
UInt64(Vec<u64>),
Float(Vec<Float>),
Double(Vec<Double>),
Bool(Vec<bool>),
Byte(ByteArray),
Enum(Vec<String>),
Str(Vec<String>),
Text(Vec<Text>),
SoftObject(Vec<T::SoftObjectPath>),
Name(Vec<String>),
Object(Vec<T::ObjectRef>),
Box(Vec<Box>),
Box2D(Vec<Box2D>),
Struct(Vec<StructValue<T>>),
}Expand description
Vectorized properties to avoid storing the variant with each value
Variants§
Int8(Vec<i8>)
Int16(Vec<i16>)
Int(Vec<i32>)
Int64(Vec<i64>)
UInt8(Vec<u8>)
UInt16(Vec<u16>)
UInt32(Vec<u32>)
UInt64(Vec<u64>)
Float(Vec<Float>)
Double(Vec<Double>)
Bool(Vec<bool>)
Byte(ByteArray)
Enum(Vec<String>)
Str(Vec<String>)
Text(Vec<Text>)
SoftObject(Vec<T::SoftObjectPath>)
Name(Vec<String>)
Object(Vec<T::ObjectRef>)
Box(Vec<Box>)
Box2D(Vec<Box2D>)
Struct(Vec<StructValue<T>>)
Trait Implementations§
Source§impl<T: ArchiveType> Serialize for ValueVec<T>
impl<T: ArchiveType> Serialize for ValueVec<T>
impl<T: ArchiveType> StructuralPartialEq for ValueVec<T>
Auto Trait Implementations§
impl<T> Freeze for ValueVec<T>
impl<T> RefUnwindSafe for ValueVec<T>where
<T as ArchiveType>::SoftObjectPath: RefUnwindSafe,
<T as ArchiveType>::ObjectRef: RefUnwindSafe,
impl<T> Send for ValueVec<T>
impl<T> Sync for ValueVec<T>
impl<T> Unpin for ValueVec<T>
impl<T> UnwindSafe for ValueVec<T>
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