pub struct RecomposeOptions {
pub force_reuse: bool,
pub force_recompose: bool,
pub retention: RetentionMode,
}Expand description
Options that a composable group passes to its recompose scope.
Fields§
§force_reuse: boolSkips the scope’s body on the next composition even if it is invalid.
force_recompose: boolRuns the scope’s body on the next composition even if it is not invalid.
retention: RetentionModeWhat happens to the scope’s content when it leaves the composition.
Trait Implementations§
Source§impl Clone for RecomposeOptions
impl Clone for RecomposeOptions
impl Copy for RecomposeOptions
Source§impl Debug for RecomposeOptions
impl Debug for RecomposeOptions
Auto Trait Implementations§
impl Freeze for RecomposeOptions
impl RefUnwindSafe for RecomposeOptions
impl Send for RecomposeOptions
impl Sync for RecomposeOptions
impl Unpin for RecomposeOptions
impl UnsafeUnpin for RecomposeOptions
impl UnwindSafe for RecomposeOptions
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