Enum rin::gl::fbo::ColorFormat [−][src]
#[repr(u32)] pub enum ColorFormat {}Show variants
R8, R16, R16F, R32F, RG8, RG16, RG16F, RG32F, RGB8, RGB16, RGB16F, RGB32F, RGBA8, RGBA16, RGBA16F, RGBA32F,
All the possible formats for a color attachment
Variants
Implementations
impl ColorFormat
[src]
impl ColorFormat
[src]pub fn from(internal_format: u32) -> Option<ColorFormat>
[src]
Trait Implementations
impl Clone for ColorFormat
[src]
impl Clone for ColorFormat
[src]pub fn clone(&self) -> ColorFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ColorFormat
[src]
impl Default for ColorFormat
[src]pub fn default() -> ColorFormat
[src]
impl Copy for ColorFormat
[src]
Auto Trait Implementations
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnwindSafe for ColorFormat
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,