pub struct DynTemperature {
pub t: f32,
pub delta: f32,
pub exponent: f32,
}Expand description
Maps distribution entropy to a temperature range.
Fields§
§t: f32Center temperature.
delta: f32Half-width of the temperature range.
exponent: f32Exponent applied to normalized entropy.
Trait Implementations§
Source§impl Clone for DynTemperature
impl Clone for DynTemperature
impl Copy for DynTemperature
Source§impl Debug for DynTemperature
impl Debug for DynTemperature
Source§impl Default for DynTemperature
impl Default for DynTemperature
Source§impl PartialEq for DynTemperature
impl PartialEq for DynTemperature
Source§impl Sampler for DynTemperature
impl Sampler for DynTemperature
impl StructuralPartialEq for DynTemperature
Auto Trait Implementations§
impl Freeze for DynTemperature
impl RefUnwindSafe for DynTemperature
impl Send for DynTemperature
impl Sync for DynTemperature
impl Unpin for DynTemperature
impl UnsafeUnpin for DynTemperature
impl UnwindSafe for DynTemperature
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