pub struct BindGroupLayoutEntry {
pub binding: u32,
pub visibility: ShaderStageFlags,
pub ty: BindingType,
pub readonly: bool,
}Fields§
§binding: u32§visibility: ShaderStageFlags§ty: BindingType§readonly: boolTrait Implementations§
Source§impl Clone for BindGroupLayoutEntry
impl Clone for BindGroupLayoutEntry
Source§fn clone(&self) -> BindGroupLayoutEntry
fn clone(&self) -> BindGroupLayoutEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BindGroupLayoutEntry
impl Debug for BindGroupLayoutEntry
Source§impl<'de> Deserialize<'de> for BindGroupLayoutEntry
impl<'de> Deserialize<'de> for BindGroupLayoutEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BindGroupLayoutEntry
Source§impl Hash for BindGroupLayoutEntry
impl Hash for BindGroupLayoutEntry
Source§impl PartialEq for BindGroupLayoutEntry
impl PartialEq for BindGroupLayoutEntry
Source§fn eq(&self, other: &BindGroupLayoutEntry) -> bool
fn eq(&self, other: &BindGroupLayoutEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BindGroupLayoutEntry
impl Serialize for BindGroupLayoutEntry
impl StructuralPartialEq for BindGroupLayoutEntry
Auto Trait Implementations§
impl Freeze for BindGroupLayoutEntry
impl RefUnwindSafe for BindGroupLayoutEntry
impl Send for BindGroupLayoutEntry
impl Sync for BindGroupLayoutEntry
impl Unpin for BindGroupLayoutEntry
impl UnsafeUnpin for BindGroupLayoutEntry
impl UnwindSafe for BindGroupLayoutEntry
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