pub struct InstanceGeometryData {
pub bind_material: Option<BindMaterial>,
}
Fields§
§bind_material: Option<BindMaterial>
Binds material symbols to material instances. This allows a single geometry to be instantiated into a scene multiple times each with a different appearance.
Trait Implementations§
Source§impl Clone for InstanceGeometryData
impl Clone for InstanceGeometryData
Source§fn clone(&self) -> InstanceGeometryData
fn clone(&self) -> InstanceGeometryData
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 InstanceGeometryData
impl Debug for InstanceGeometryData
Source§impl Default for InstanceGeometryData
impl Default for InstanceGeometryData
Source§fn default() -> InstanceGeometryData
fn default() -> InstanceGeometryData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstanceGeometryData
impl RefUnwindSafe for InstanceGeometryData
impl Send for InstanceGeometryData
impl Sync for InstanceGeometryData
impl Unpin for InstanceGeometryData
impl UnwindSafe for InstanceGeometryData
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