Struct rin::gl::attributes::Format [−][src]
pub struct Format {
pub name: Cow<'static, str>,
pub location: u32,
pub num_coords: usize,
pub src_type: Type,
pub dst_type: Type,
pub normalize: bool,
pub offset_in_vertex: usize,
}Attribute format for most data types
Fields
name: Cow<'static, str>location: u32num_coords: usizesrc_type: Typedst_type: Typenormalize: booloffset_in_vertex: usizeImplementations
impl Format[src]
impl Format[src]pub fn source_from<V>(&self, vertex_binding: &V) -> (Format, V) where
V: DynVertexBufferBinding + Clone, [src]
V: DynVertexBufferBinding + Clone,
Trait Implementations
impl Eq for Format[src]
impl StructuralEq for Format[src]
impl StructuralPartialEq for Format[src]
Auto Trait Implementations
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
Blanket Implementations
impl<T> CallHasher for T where
T: Hash, [src]
impl<T> CallHasher for T where
T: Hash, [src]impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[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]