[][src]Struct shader_types::BVec3

#[repr(C, align(16))]pub struct BVec3 {
    pub inner: [Bool; 3],
}

Vector of 3 Bool values. Has size 12 and alignment 16.

Fields

inner: [Bool; 3]

Implementations

impl BVec3[src]

pub fn new(inner: [Bool; 3]) -> Self[src]

pub fn from_mint<T: Into<Vector3<Bool>>>(value: T) -> Self[src]

This is supported on crate feature mint only.

Construct a BVec3 from any type which is convertable into a mint::Vector3<Bool>.

Trait Implementations

impl Clone for BVec3[src]

impl Copy for BVec3[src]

impl Debug for BVec3[src]

impl Default for BVec3[src]

impl From<[Bool; 3]> for BVec3[src]

impl From<BVec3> for Vector3<Bool>[src]

impl From<BVec3> for [Bool; 3][src]

impl From<Vector3<Bool>> for BVec3[src]

impl PartialEq<BVec3> for BVec3[src]

impl PartialOrd<BVec3> for BVec3[src]

impl Pod for BVec3[src]

impl StructuralPartialEq for BVec3[src]

impl Zeroable for BVec3[src]

Auto Trait Implementations

impl RefUnwindSafe for BVec3

impl Send for BVec3

impl Sync for BVec3

impl Unpin for BVec3

impl UnwindSafe for BVec3

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.