pub struct InstanceColor(pub TypeId);
Tuple Fields§
§0: TypeId
Implementations§
Source§impl InstanceColor
impl InstanceColor
pub fn shader_type(&self) -> String
pub fn instance_type(&self) -> InstanceType
pub fn var_store(&self) -> ShVarStore
Trait Implementations§
Source§impl Clone for InstanceColor
impl Clone for InstanceColor
Source§fn clone(&self) -> InstanceColor
fn clone(&self) -> InstanceColor
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 Hash for InstanceColor
impl Hash for InstanceColor
Source§impl Into<InstanceColor> for UniqueId
impl Into<InstanceColor> for UniqueId
Source§fn into(self) -> InstanceColor
fn into(self) -> InstanceColor
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for InstanceColor
impl PartialEq for InstanceColor
impl Copy for InstanceColor
impl StructuralPartialEq for InstanceColor
Auto Trait Implementations§
impl Freeze for InstanceColor
impl RefUnwindSafe for InstanceColor
impl Send for InstanceColor
impl Sync for InstanceColor
impl Unpin for InstanceColor
impl UnwindSafe for InstanceColor
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