oa::render::MaterialId

Stable identity of one material in a Scene. Zero is invalid.

StRust public API

Declaration

pub struct MaterialId(pub u64);
Public Rust declaration.

Public Methods

fn clone(&self) -> MaterialId
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn hash<__H: Hasher>(&self, state: &mut __H)
fn eq(&self, other: &MaterialId) -> bool

Associated Functions

fn default() -> MaterialId

Public Data Members

0u64field

Public Method Documentation

fn clone( &self ) -> MaterialId
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn hash<__H: Hasher>( &self, state: &mut __H )
No public source comment is attached to this declaration.
fn eq( &self, other: &MaterialId ) -> bool
No public source comment is attached to this declaration.
fn default() -> MaterialId
No public source comment is attached to this declaration.