[−][src]Struct shader_types::IVec3
Vector of 3 i32
values. Has size 12 and alignment 16.
Fields
inner: [i32; 3]
Implementations
impl IVec3
[src]
pub fn new(inner: [i32; 3]) -> Self
[src]
pub fn from_mint<T: Into<Vector3<i32>>>(value: T) -> Self
[src]
This is supported on crate feature
mint
only.Construct a IVec3
from any type which is convertable into a mint::Vector3<i32>
.
Trait Implementations
impl Clone for IVec3
[src]
impl Copy for IVec3
[src]
impl Debug for IVec3
[src]
impl Default for IVec3
[src]
impl From<[i32; 3]> for IVec3
[src]
impl From<IVec3> for Vector3<i32>
[src]
impl From<IVec3> for [i32; 3]
[src]
impl From<Vector3<i32>> for IVec3
[src]
impl PartialEq<IVec3> for IVec3
[src]
impl PartialOrd<IVec3> for IVec3
[src]
fn partial_cmp(&self, other: &IVec3) -> Option<Ordering>
[src]
fn lt(&self, other: &IVec3) -> bool
[src]
fn le(&self, other: &IVec3) -> bool
[src]
fn gt(&self, other: &IVec3) -> bool
[src]
fn ge(&self, other: &IVec3) -> bool
[src]
impl Pod for IVec3
[src]
impl StructuralPartialEq for IVec3
[src]
impl Zeroable for IVec3
[src]
Auto Trait Implementations
impl RefUnwindSafe for IVec3
impl Send for IVec3
impl Sync for IVec3
impl Unpin for IVec3
impl UnwindSafe for IVec3
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,