Struct glium::program::TransformFeedbackVarying
source · pub struct TransformFeedbackVarying {
pub name: String,
pub offset: usize,
pub size: usize,
pub ty: AttributeType,
}
Expand description
Describes a varying that is being output with transform feedback.
Fields§
§name: String
Name of the variable.
offset: usize
Number of bytes between the start of the first element and the start of this one.
size: usize
Size in bytes of this value.
ty: AttributeType
Type of the value.
Trait Implementations§
source§impl Clone for TransformFeedbackVarying
impl Clone for TransformFeedbackVarying
source§fn clone(&self) -> TransformFeedbackVarying
fn clone(&self) -> TransformFeedbackVarying
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransformFeedbackVarying
impl Debug for TransformFeedbackVarying
source§impl PartialEq<TransformFeedbackVarying> for TransformFeedbackVarying
impl PartialEq<TransformFeedbackVarying> for TransformFeedbackVarying
source§fn eq(&self, other: &TransformFeedbackVarying) -> bool
fn eq(&self, other: &TransformFeedbackVarying) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TransformFeedbackVarying
impl StructuralEq for TransformFeedbackVarying
impl StructuralPartialEq for TransformFeedbackVarying
Auto Trait Implementations§
impl RefUnwindSafe for TransformFeedbackVarying
impl Send for TransformFeedbackVarying
impl Sync for TransformFeedbackVarying
impl Unpin for TransformFeedbackVarying
impl UnwindSafe for TransformFeedbackVarying
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more