pub enum RecordingMode {
Open,
Sealed,
}Expand description
Open top-level vs. sealed nested-function recording.
Variants§
Open
input() propagates to root + every active sub-function.
Sealed
input() lands only on the immediate sub-function.
Trait Implementations§
Source§impl Clone for RecordingMode
impl Clone for RecordingMode
Source§fn clone(&self) -> RecordingMode
fn clone(&self) -> RecordingMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordingMode
Source§impl Debug for RecordingMode
impl Debug for RecordingMode
impl Eq for RecordingMode
Source§impl PartialEq for RecordingMode
impl PartialEq for RecordingMode
Source§fn eq(&self, other: &RecordingMode) -> bool
fn eq(&self, other: &RecordingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordingMode
Auto Trait Implementations§
impl Freeze for RecordingMode
impl RefUnwindSafe for RecordingMode
impl Send for RecordingMode
impl Sync for RecordingMode
impl Unpin for RecordingMode
impl UnsafeUnpin for RecordingMode
impl UnwindSafe for RecordingMode
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