Struct wgpu_core::validation::InterfaceVar
source · pub struct InterfaceVar {
pub ty: NumericType,
/* private fields */
}
Fields§
§ty: NumericType
Implementations§
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 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 InterfaceVar
impl Debug 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