pub struct SceneMaterial {
pub id: MaterialId,
pub name: String,
pub data: Material,
}Expand description
Named material entry in a semantic scene.
Fields§
§id: MaterialIdUnique non-zero material identity within this scene.
name: String§data: MaterialTrait Implementations§
Source§impl Clone for SceneMaterial
impl Clone for SceneMaterial
Source§impl Debug for SceneMaterial
impl Debug for SceneMaterial
Source§impl PartialEq for SceneMaterial
impl PartialEq for SceneMaterial
impl StructuralPartialEq for SceneMaterial
Auto Trait Implementations§
impl Forget for SceneMaterial
impl Freeze for SceneMaterial
impl Move for SceneMaterial
impl RefUnwindSafe for SceneMaterial
impl Send for SceneMaterialwhere
RawVecInner: Send,
impl Sync for SceneMaterialwhere
RawVecInner: Sync,
impl Unpin for SceneMaterial
impl UnsafeUnpin for SceneMaterial
impl UnwindSafe for SceneMaterialwhere
RawVecInner: UnwindSafe,
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