Struct oxygengine_ha_renderer::math::mint::Vector4
#[repr(C)]pub struct Vector4<T> {
pub x: T,
pub y: T,
pub z: T,
pub w: T,
}
Fields§
§x: T
§y: T
§z: T
§w: T
Implementations§
Trait Implementations§
§impl<T> Ord for Vector4<T>where
T: Ord,
impl<T> Ord for Vector4<T>where T: Ord,
§impl<T> PartialEq<Vector4<T>> for Vector4<T>where
T: PartialEq<T>,
impl<T> PartialEq<Vector4<T>> for Vector4<T>where T: PartialEq<T>,
§impl<T> PartialOrd<Vector4<T>> for Vector4<T>where
T: PartialOrd<T>,
impl<T> PartialOrd<Vector4<T>> for Vector4<T>where T: PartialOrd<T>,
§fn partial_cmp(&self, other: &Vector4<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &Vector4<T>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T> Copy for Vector4<T>where T: Copy,
impl<T> Eq for Vector4<T>where T: Eq,
impl<T> StructuralEq for Vector4<T>
impl<T> StructuralPartialEq for Vector4<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for Vector4<T>where T: RefUnwindSafe,
impl<T> Send for Vector4<T>where T: Send,
impl<T> Sync for Vector4<T>where T: Sync,
impl<T> Unpin for Vector4<T>where T: Unpin,
impl<T> UnwindSafe for Vector4<T>where T: UnwindSafe,
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
§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,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more