pub struct Object {
pub mesh_kind: ObjectMeshKind,
pub material: MaterialHandle,
pub transform: Mat4,
}
Fields§
§mesh_kind: ObjectMeshKind
§material: MaterialHandle
§transform: Mat4
Implementations§
Source§impl Object
impl Object
pub fn update_from_changes(&mut self, change: ObjectChange)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnwindSafe for Object
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