Struct re_renderer::PickingLayerInstanceId
source · #[repr(C)]pub struct PickingLayerInstanceId(pub u64);Expand description
The second 64bit of the picking layer.
Typically used to identify instances. Some renderers might allow to change only this part of the picking identifier at a fine grained level.
Tuple Fields§
§0: u64Trait Implementations§
source§impl Clone for PickingLayerInstanceId
impl Clone for PickingLayerInstanceId
source§fn clone(&self) -> PickingLayerInstanceId
fn clone(&self) -> PickingLayerInstanceId
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 PickingLayerInstanceId
impl Debug for PickingLayerInstanceId
source§impl Default for PickingLayerInstanceId
impl Default for PickingLayerInstanceId
source§fn default() -> PickingLayerInstanceId
fn default() -> PickingLayerInstanceId
Returns the “default value” for a type. Read more
source§impl PartialEq<PickingLayerInstanceId> for PickingLayerInstanceId
impl PartialEq<PickingLayerInstanceId> for PickingLayerInstanceId
source§fn eq(&self, other: &PickingLayerInstanceId) -> bool
fn eq(&self, other: &PickingLayerInstanceId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PickingLayerInstanceId
impl Eq for PickingLayerInstanceId
impl Pod for PickingLayerInstanceId
impl StructuralEq for PickingLayerInstanceId
impl StructuralPartialEq for PickingLayerInstanceId
Auto Trait Implementations§
impl RefUnwindSafe for PickingLayerInstanceId
impl Send for PickingLayerInstanceId
impl Sync for PickingLayerInstanceId
impl Unpin for PickingLayerInstanceId
impl UnwindSafe for PickingLayerInstanceId
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
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.