Struct wgpu_core::validation::InterfaceVar
source · pub struct InterfaceVar {
pub ty: NumericType,
interpolation: Option<Interpolation>,
sampling: Option<Sampling>,
}
Fields§
§ty: NumericType
§interpolation: Option<Interpolation>
§sampling: Option<Sampling>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)