pub struct RenderConfig {
pub rate: u32,
pub range: Range,
pub until: Option<Until>,
pub profile: Profile,
pub asks: Vec<Ask>,
pub volatile: Vec<String>,
pub out: Out,
pub threads: NonZeroUsize,
}Fields§
§rate: u32§range: Range§until: Option<Until>Where the render stops before the range ends.
profile: Profile§asks: Vec<Ask>What the caller means to read. An empty list is audio out, which collapses the root.
volatile: Vec<String>What reads one of these keeps one value in memory, its last.
out: Out§threads: NonZeroUsizeThe most threads it computes on; one computes every value in turn on the caller’s.
Implementations§
Source§impl RenderConfig
impl RenderConfig
pub fn at(rate: u32) -> RenderConfig
pub fn seconds(rate: u32, secs: f64) -> RenderConfig
pub fn asking(self, asks: Vec<Ask>) -> RenderConfig
Trait Implementations§
Source§impl Clone for RenderConfig
impl Clone for RenderConfig
Source§impl Debug for RenderConfig
impl Debug for RenderConfig
Source§impl PartialEq for RenderConfig
impl PartialEq for RenderConfig
impl StructuralPartialEq for RenderConfig
Auto Trait Implementations§
impl Freeze for RenderConfig
impl RefUnwindSafe for RenderConfig
impl Send for RenderConfig
impl Sync for RenderConfig
impl Unpin for RenderConfig
impl UnsafeUnpin for RenderConfig
impl UnwindSafe for RenderConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more