[−][src]Struct building_blocks_storage::chunk_map::SerializableChunkMap
Call ChunkMap::to_serializable
to get this type, which is an LZ4-compressed,
serde-serializable type.
Fields
chunk_shape: PointN<N>
ambient_value: T
default_chunk_metadata: M
compressed_chunks: FnvHashMap<PointN<N>, BincodeLz4Compressed<Chunk<N, T, M>>>
Trait Implementations
impl<'de, N, T, M> Deserialize<'de> for SerializableChunkMap<N, T, M> where
PointN<N>: Eq + Hash,
N: Deserialize<'de>,
T: Deserialize<'de>,
M: Deserialize<'de>,
[src]
PointN<N>: Eq + Hash,
N: Deserialize<'de>,
T: Deserialize<'de>,
M: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<N, T, M> Serialize for SerializableChunkMap<N, T, M> where
PointN<N>: Eq + Hash,
N: Serialize,
T: Serialize,
M: Serialize,
[src]
PointN<N>: Eq + Hash,
N: Serialize,
T: Serialize,
M: Serialize,
Auto Trait Implementations
impl<N, T, M> RefUnwindSafe for SerializableChunkMap<N, T, M> where
M: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
M: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
impl<N, T, M> Send for SerializableChunkMap<N, T, M> where
M: Send,
N: Send,
T: Send,
M: Send,
N: Send,
T: Send,
impl<N, T, M> Sync for SerializableChunkMap<N, T, M> where
M: Sync,
N: Sync,
T: Sync,
M: Sync,
N: Sync,
T: Sync,
impl<N, T, M> Unpin for SerializableChunkMap<N, T, M> where
M: Unpin,
N: Unpin,
T: Unpin,
M: Unpin,
N: Unpin,
T: Unpin,
impl<N, T, M> UnwindSafe for SerializableChunkMap<N, T, M> where
M: UnwindSafe,
N: UnwindSafe,
T: UnwindSafe,
M: UnwindSafe,
N: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Compressible<BincodeLz4> for T where
T: DeserializeOwned + Serialize,
[src]
T: DeserializeOwned + Serialize,
type Compressed = BincodeLz4Compressed<T>
pub fn compress(
&self,
params: BincodeLz4
) -> <T as Compressible<BincodeLz4>>::Compressed
[src]
&self,
params: BincodeLz4
) -> <T as Compressible<BincodeLz4>>::Compressed
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,