#[non_exhaustive]pub struct MaterialTextureBindingMeasurements {
pub slot: MaterialTextureSlot,
pub texture_index: usize,
}Expand description
One material-to-texture binding in the source resource table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.slot: MaterialTextureSlotStable material slot.
texture_index: usizeStable source texture index.
Trait Implementations§
Source§impl Clone for MaterialTextureBindingMeasurements
impl Clone for MaterialTextureBindingMeasurements
Source§fn clone(&self) -> MaterialTextureBindingMeasurements
fn clone(&self) -> MaterialTextureBindingMeasurements
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MaterialTextureBindingMeasurements
Source§impl<'de> Deserialize<'de> for MaterialTextureBindingMeasurements
impl<'de> Deserialize<'de> for MaterialTextureBindingMeasurements
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MaterialTextureBindingMeasurements
impl StructuralPartialEq for MaterialTextureBindingMeasurements
Auto Trait Implementations§
impl Freeze for MaterialTextureBindingMeasurements
impl RefUnwindSafe for MaterialTextureBindingMeasurements
impl Send for MaterialTextureBindingMeasurements
impl Sync for MaterialTextureBindingMeasurements
impl Unpin for MaterialTextureBindingMeasurements
impl UnsafeUnpin for MaterialTextureBindingMeasurements
impl UnwindSafe for MaterialTextureBindingMeasurements
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