pub struct RuntimeMeshPayloads(pub BTreeMap<AssetId, Vec<u8>>);Expand description
Mesh payloads baked at world start, keyed by the asset id of the
ProceduralMesh that owns each one.
Their handles sit in the MeshBlock::Runtime
tail of the shared mesh-source space, past every handle the build assigned.
Tuple Fields§
§0: BTreeMap<AssetId, Vec<u8>>Implementations§
Trait Implementations§
Source§impl Clone for RuntimeMeshPayloads
impl Clone for RuntimeMeshPayloads
Source§fn clone(&self) -> RuntimeMeshPayloads
fn clone(&self) -> RuntimeMeshPayloads
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 moreSource§impl Debug for RuntimeMeshPayloads
impl Debug for RuntimeMeshPayloads
Source§impl Default for RuntimeMeshPayloads
impl Default for RuntimeMeshPayloads
Source§fn default() -> RuntimeMeshPayloads
fn default() -> RuntimeMeshPayloads
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RuntimeMeshPayloads
impl RefUnwindSafe for RuntimeMeshPayloads
impl Send for RuntimeMeshPayloads
impl Sync for RuntimeMeshPayloads
impl Unpin for RuntimeMeshPayloads
impl UnsafeUnpin for RuntimeMeshPayloads
impl UnwindSafe for RuntimeMeshPayloads
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