#[non_exhaustive]pub enum ProcessMode {
Offline,
Realtime,
}Expand description
The processing mode reported to the plugin. Offline rendering is not paced to wall-clock time;
Realtime only changes what the plugin is told, for plugins that misbehave in offline mode.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Offline
Tell the plugin it may use its offline rendering mode. This is the default.
Realtime
Tell the plugin it is processing in real time; this does not provide real-time scheduling.
Trait Implementations§
Source§impl Clone for ProcessMode
impl Clone for ProcessMode
impl Copy for ProcessMode
Source§impl Debug for ProcessMode
impl Debug for ProcessMode
Source§impl Default for ProcessMode
impl Default for ProcessMode
impl Eq for ProcessMode
Source§impl Hash for ProcessMode
impl Hash for ProcessMode
Source§impl PartialEq for ProcessMode
impl PartialEq for ProcessMode
impl StructuralPartialEq for ProcessMode
Auto Trait Implementations§
impl Forget for ProcessMode
impl Freeze for ProcessMode
impl Move for ProcessMode
impl RefUnwindSafe for ProcessMode
impl Send for ProcessMode
impl Sync for ProcessMode
impl Unpin for ProcessMode
impl UnsafeUnpin for ProcessMode
impl UnwindSafe for ProcessMode
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