pub struct ObjectChange {
pub mesh_kind: Option<ObjectMeshKind>,
pub material: Option<MaterialHandle>,
pub transform: Option<Mat4>,
}
Expand description
Describes a modification to a Object.
Fields§
§mesh_kind: Option<ObjectMeshKind>
§material: Option<MaterialHandle>
§transform: Option<Mat4>
Trait Implementations§
Source§impl Clone for ObjectChange
impl Clone for ObjectChange
Source§fn clone(&self) -> ObjectChange
fn clone(&self) -> ObjectChange
Returns a duplicate 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 ObjectChange
impl Debug for ObjectChange
Source§impl Default for ObjectChange
impl Default for ObjectChange
Source§fn default() -> ObjectChange
fn default() -> ObjectChange
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ObjectChange
impl RefUnwindSafe for ObjectChange
impl Send for ObjectChange
impl Sync for ObjectChange
impl Unpin for ObjectChange
impl UnwindSafe for ObjectChange
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