[][src]Struct shader_types::BVec4

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

Vector of 4 Bool values. Has size 16 and alignment 16.

Fields

inner: [Bool; 4]

Implementations

impl BVec4[src]

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

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

This is supported on crate feature mint only.

Construct a BVec4 from any type which is convertable into a mint::Vector4<Bool>.

Trait Implementations

impl Clone for BVec4[src]

impl Copy for BVec4[src]

impl Debug for BVec4[src]

impl Default for BVec4[src]

impl From<[Bool; 4]> for BVec4[src]

impl From<BVec4> for Vector4<Bool>[src]

impl From<BVec4> for [Bool; 4][src]

impl From<Vector4<Bool>> for BVec4[src]

impl PartialEq<BVec4> for BVec4[src]

impl PartialOrd<BVec4> for BVec4[src]

impl Pod for BVec4[src]

impl StructuralPartialEq for BVec4[src]

impl Zeroable for BVec4[src]

Auto Trait Implementations

impl RefUnwindSafe for BVec4

impl Send for BVec4

impl Sync for BVec4

impl Unpin for BVec4

impl UnwindSafe for BVec4

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.