pub struct InterfaceVar {
pub ty: NumericType,
interpolation: Option<Interpolation>,
sampling: Option<Sampling>,
per_primitive: bool,
}Fields§
§ty: NumericType§interpolation: Option<Interpolation>§sampling: Option<Sampling>§per_primitive: boolImplementations§
Source§impl InterfaceVar
impl InterfaceVar
pub fn vertex_attribute(format: VertexFormat) -> Self
Trait Implementations§
Source§impl Clone for InterfaceVar
impl Clone for InterfaceVar
Source§fn clone(&self) -> InterfaceVar
fn clone(&self) -> InterfaceVar
Returns a duplicate 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 InterfaceVar
impl Debug for InterfaceVar
Source§impl Display for InterfaceVar
impl Display for InterfaceVar
Source§impl PartialEq for InterfaceVar
impl PartialEq for InterfaceVar
impl Eq for InterfaceVar
impl StructuralPartialEq for InterfaceVar
Auto Trait Implementations§
impl Freeze for InterfaceVar
impl RefUnwindSafe for InterfaceVar
impl Send for InterfaceVar
impl Sync for InterfaceVar
impl Unpin for InterfaceVar
impl UnwindSafe for InterfaceVar
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more