pub(super) struct WrappedBitcast {
pub(super) src: (Option<VectorSize>, Scalar),
pub(super) dst: (Option<VectorSize>, Scalar),
}Expand description
A function that bitcasts between scalar or vector types of different shapes,
such as half2 and uint.
Fields§
§src: (Option<VectorSize>, Scalar)§dst: (Option<VectorSize>, Scalar)Implementations§
Trait Implementations§
Source§impl Clone for WrappedBitcast
impl Clone for WrappedBitcast
Source§fn clone(&self) -> WrappedBitcast
fn clone(&self) -> WrappedBitcast
Returns a duplicate 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 WrappedBitcast
impl Debug for WrappedBitcast
Source§impl Hash for WrappedBitcast
impl Hash for WrappedBitcast
Source§impl Ord for WrappedBitcast
impl Ord for WrappedBitcast
Source§fn cmp(&self, other: &WrappedBitcast) -> Ordering
fn cmp(&self, other: &WrappedBitcast) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WrappedBitcast
impl PartialEq for WrappedBitcast
Source§impl PartialOrd for WrappedBitcast
impl PartialOrd for WrappedBitcast
impl Copy for WrappedBitcast
impl Eq for WrappedBitcast
impl StructuralPartialEq for WrappedBitcast
Auto Trait Implementations§
impl Freeze for WrappedBitcast
impl RefUnwindSafe for WrappedBitcast
impl Send for WrappedBitcast
impl Sync for WrappedBitcast
impl Unpin for WrappedBitcast
impl UnsafeUnpin for WrappedBitcast
impl UnwindSafe for WrappedBitcast
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more