pub struct FragmentEntry {
pub source: Arc<str>,
}Expand description
A registered fragment: the app’s WGSL as it was given, which is what a
backend compiles (around the core’s prelude and epilogue — see
crate::fragment) and what a C host reads back to compile itself.
Fields§
§source: Arc<str>The app’s source, without the prelude or the epilogue.
Auto Trait Implementations§
impl Freeze for FragmentEntry
impl RefUnwindSafe for FragmentEntry
impl Send for FragmentEntry
impl Sync for FragmentEntry
impl Unpin for FragmentEntry
impl UnsafeUnpin for FragmentEntry
impl UnwindSafe for FragmentEntry
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