Enum naga::front::wgsl::lower::construction::Components
source · enum Components<'a> {
None,
One {
component: Handle<Expression>,
span: Span,
ty_inner: &'a TypeInner,
},
Many {
components: Vec<Handle<Expression>>,
spans: Vec<Span>,
},
}
Variants§
Implementations§
source§impl Components<'_>
impl Components<'_>
fn into_components_vec(self) -> Vec<Handle<Expression>>
Auto Trait Implementations§
impl<'a> Freeze for Components<'a>
impl<'a> RefUnwindSafe for Components<'a>
impl<'a> Send for Components<'a>
impl<'a> Sync for Components<'a>
impl<'a> Unpin for Components<'a>
impl<'a> UnwindSafe for Components<'a>
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