pub enum NoiseSource<Expr, Table> {
White(Expr),
Flicker(Expr, Expr),
Table(Table),
TableLog(Table),
}Variants§
Implementations§
Source§impl<Expr, Table> NoiseSource<Expr, Table>
impl<Expr, Table> NoiseSource<Expr, Table>
pub fn fold<NewExpr, NewTable>( self, fold_expr: impl FnMut(Expr) -> NewExpr, fold_table: impl FnMut(Table) -> NewTable, ) -> NoiseSource<NewExpr, NewTable>
Trait Implementations§
Source§impl<Expr: Clone, Table: Clone> Clone for NoiseSource<Expr, Table>
impl<Expr: Clone, Table: Clone> Clone for NoiseSource<Expr, Table>
Source§fn clone(&self) -> NoiseSource<Expr, Table>
fn clone(&self) -> NoiseSource<Expr, Table>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Expr: Copy, Table: Copy> Copy for NoiseSource<Expr, Table>
Auto Trait Implementations§
impl<Expr, Table> Freeze for NoiseSource<Expr, Table>
impl<Expr, Table> RefUnwindSafe for NoiseSource<Expr, Table>where
Expr: RefUnwindSafe,
Table: RefUnwindSafe,
impl<Expr, Table> Send for NoiseSource<Expr, Table>
impl<Expr, Table> Sync for NoiseSource<Expr, Table>
impl<Expr, Table> Unpin for NoiseSource<Expr, Table>
impl<Expr, Table> UnwindSafe for NoiseSource<Expr, Table>where
Expr: UnwindSafe,
Table: UnwindSafe,
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