pub struct PaletteEntry {
pub id: StructuredId,
pub label: &'static str,
pub scale: [f32; 3],
pub rest_y: f32,
}Expand description
One block kind build mode can place. scale is the placed size (builtin
primitives are unit-sized) and rest_y the height its center sits at so it
rests on the floor.
Fields§
§id: StructuredId§label: &'static str§scale: [f32; 3]§rest_y: f32Auto Trait Implementations§
impl Freeze for PaletteEntry
impl RefUnwindSafe for PaletteEntry
impl Send for PaletteEntry
impl Sync for PaletteEntry
impl Unpin for PaletteEntry
impl UnsafeUnpin for PaletteEntry
impl UnwindSafe for PaletteEntry
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