Trait glium::vertex::Attribute
[−]
[src]
pub unsafe trait Attribute: Sized { fn get_type() -> AttributeType; fn is_supported<C: ?Sized>(caps: &C) -> bool
where
C: CapabilitiesSource, { ... } }
Trait for types that can be used as vertex attributes.
Required Methods
fn get_type() -> AttributeType
Get the type of data.
Provided Methods
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
C: CapabilitiesSource,
Returns true if the backend supports this type of attribute.
Implementations on Foreign Types
impl Attribute for i8
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i8, i8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i8; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i8, i8, i8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i8; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i8, i8, i8, i8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i8; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for u8
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u8, u8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u8; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u8, u8, u8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u8; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u8, u8, u8, u8)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u8; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for i16
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i16, i16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i16; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i16, i16, i16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i16; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i16, i16, i16, i16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i16; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for u16
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u16, u16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u16; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u16, u16, u16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u16; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u16, u16, u16, u16)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u16; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for i32
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i32, i32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i32; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i32, i32, i32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i32; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i32, i32, i32, i32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i32; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for u32
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u32, u32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u32; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u32, u32, u32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u32; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u32, u32, u32, u32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u32; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for i64
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i64, i64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i64; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i64, i64, i64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i64; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (i64, i64, i64, i64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [i64; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for u64
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u64, u64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u64; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u64, u64, u64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u64; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (u64, u64, u64, u64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [u64; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for f32
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f32, f32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f32; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f32, f32, f32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f32; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f32, f32, f32, f32)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f32; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f32; 2]; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f32; 3]; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f32; 4]; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for f64
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f64, f64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f64; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f64, f64, f64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f64; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for (f64, f64, f64, f64)
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [f64; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f64; 2]; 2]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f64; 3]; 3]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,
impl Attribute for [[f64; 4]; 4]
[src]
fn get_type() -> AttributeType
[src]
fn is_supported<C: ?Sized>(caps: &C) -> bool where
C: CapabilitiesSource,
[src]
C: CapabilitiesSource,