pub struct BlockCollisionShapes {
pub blocks: HashMap<String, BlockShapeRef>,
pub shapes: HashMap<String, Vec<[f64; 6]>>,
}
Fields§
§blocks: HashMap<String, BlockShapeRef>
§shapes: HashMap<String, Vec<[f64; 6]>>
Trait Implementations§
Source§impl Clone for BlockCollisionShapes
impl Clone for BlockCollisionShapes
Source§fn clone(&self) -> BlockCollisionShapes
fn clone(&self) -> BlockCollisionShapes
Returns a copy of the value. Read more
1.0.0 · 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 BlockCollisionShapes
impl Debug for BlockCollisionShapes
Source§impl<'de> Deserialize<'de> for BlockCollisionShapes
impl<'de> Deserialize<'de> for BlockCollisionShapes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlockCollisionShapes
impl RefUnwindSafe for BlockCollisionShapes
impl Send for BlockCollisionShapes
impl Sync for BlockCollisionShapes
impl Unpin for BlockCollisionShapes
impl UnwindSafe for BlockCollisionShapes
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