[][src]Enum bedrock::FormatComponents

pub enum FormatComponents {
    Undefined,
    R,
    RG,
    RGB,
    RGBA,
    EBGR,
    D,
    S,
    DS,
    Compressed,
}

Containing Components in Format(Order is not considered)

Variants

Undefined
R
RG
RGB
RGBA
EBGR
D
S
DS
Compressed

Methods

impl FormatComponents[src]

pub fn has(self, o: Self) -> bool[src]

pub fn satisfy(self, f: VkFormat) -> bool[src]

pub fn satisfy_eq(self, f: VkFormat) -> bool[src]

Trait Implementations

impl Clone for FormatComponents[src]

impl Copy for FormatComponents[src]

impl Eq for FormatComponents[src]

impl PartialEq<FormatComponents> for FormatComponents[src]

impl StructuralEq for FormatComponents[src]

impl StructuralPartialEq for FormatComponents[src]

Auto Trait Implementations

impl RefUnwindSafe for FormatComponents

impl Send for FormatComponents

impl Sync for FormatComponents

impl Unpin for FormatComponents

impl UnwindSafe for FormatComponents

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.