Struct re_renderer::PickingLayerId
source · #[repr(C)]pub struct PickingLayerId {
pub object: PickingLayerObjectId,
pub instance: PickingLayerInstanceId,
}Expand description
Combination of PickingLayerObjectId and PickingLayerInstanceId.
This is the same memory order as it is found in the GPU picking layer texture.
Fields§
§object: PickingLayerObjectId§instance: PickingLayerInstanceIdTrait Implementations§
source§impl Clone for PickingLayerId
impl Clone for PickingLayerId
source§fn clone(&self) -> PickingLayerId
fn clone(&self) -> PickingLayerId
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 PickingLayerId
impl Debug for PickingLayerId
source§impl Default for PickingLayerId
impl Default for PickingLayerId
source§fn default() -> PickingLayerId
fn default() -> PickingLayerId
Returns the “default value” for a type. Read more
source§impl From<PickingLayerId> for [u32; 4]
impl From<PickingLayerId> for [u32; 4]
source§fn from(val: PickingLayerId) -> Self
fn from(val: PickingLayerId) -> Self
Converts to this type from the input type.
source§impl PartialEq<PickingLayerId> for PickingLayerId
impl PartialEq<PickingLayerId> for PickingLayerId
source§fn eq(&self, other: &PickingLayerId) -> bool
fn eq(&self, other: &PickingLayerId) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for PickingLayerId
impl Eq for PickingLayerId
impl Pod for PickingLayerId
impl StructuralEq for PickingLayerId
impl StructuralPartialEq for PickingLayerId
Auto Trait Implementations§
impl RefUnwindSafe for PickingLayerId
impl Send for PickingLayerId
impl Sync for PickingLayerId
impl Unpin for PickingLayerId
impl UnwindSafe for PickingLayerId
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.