pub struct ShaderContext<'a, T> {
pub vars: &'a T,
pub position: Float2,
pub resolution: Float2,
pub bounds: Float4,
}
Fields§
§vars: &'a T
§position: Float2
§resolution: Float2
§bounds: Float4
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for ShaderContext<'a, T>
impl<'a, T> RefUnwindSafe for ShaderContext<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for ShaderContext<'a, T>
impl<'a, T> !Sync for ShaderContext<'a, T>
impl<'a, T> Unpin for ShaderContext<'a, T>
impl<'a, T> UnwindSafe for ShaderContext<'a, T>where
T: RefUnwindSafe,
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