pub struct Synth {
pub frames: u64,
pub spans_per_frame: u32,
pub seed: u64,
pub hz: f32,
}Expand description
What to make.
Fields§
§frames: u64§spans_per_frame: u32About how many spans a frame closes, its gap’s included.
seed: u64§hz: f32The display’s refresh rate: the frame budget, and how far apart frames come.
Implementations§
Trait Implementations§
impl Copy for Synth
impl StructuralPartialEq for Synth
Auto Trait Implementations§
impl Forget for Synth
impl Freeze for Synth
impl RefUnwindSafe for Synth
impl Send for Synth
impl Sync for Synth
impl Unpin for Synth
impl UnsafeUnpin for Synth
impl UnwindSafe for Synth
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