#[repr(C)]pub struct Vector3<T> {
pub x: T,
pub y: T,
pub z: T,
}Available on crate feature
devices only.Fields§
§x: T§y: T§z: TImplementations§
Trait Implementations§
Source§impl<T> Ord for Vector3<T>where
T: Ord,
impl<T> Ord for Vector3<T>where
T: Ord,
Source§impl<T> PartialOrd for Vector3<T>where
T: PartialOrd,
impl<T> PartialOrd for Vector3<T>where
T: PartialOrd,
impl<T> Copy for Vector3<T>where
T: Copy,
impl<T> Eq for Vector3<T>where
T: Eq,
impl<T> StructuralPartialEq for Vector3<T>
Auto Trait Implementations§
impl<T> Freeze for Vector3<T>where
T: Freeze,
impl<T> RefUnwindSafe for Vector3<T>where
T: RefUnwindSafe,
impl<T> Send for Vector3<T>where
T: Send,
impl<T> Sync for Vector3<T>where
T: Sync,
impl<T> Unpin for Vector3<T>where
T: Unpin,
impl<T> UnwindSafe for Vector3<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)