pub struct SystemBuilder { /* private fields */ }Implementations§
Source§impl SystemBuilder
impl SystemBuilder
Sourcepub fn uniform_sampler(self, n: usize) -> Result<Self>
pub fn uniform_sampler(self, n: usize) -> Result<Self>
Configure the uniform sampler resolution.
Sourcepub fn var(
self,
name: impl Into<String>,
min: Float,
max: Float,
) -> Result<Self>
pub fn var( self, name: impl Into<String>, min: Float, max: Float, ) -> Result<Self>
Insert a variable by name with a numeric domain.
Auto Trait Implementations§
impl Freeze for SystemBuilder
impl !RefUnwindSafe for SystemBuilder
impl Send for SystemBuilder
impl Sync for SystemBuilder
impl Unpin for SystemBuilder
impl !UnwindSafe for SystemBuilder
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