pub enum BindMode {
IfMissing,
Overwrite,
}Expand description
Controls whether a binding expression preserves or overwrites an existing value in the render context.
Variants§
IfMissing
Preserve an existing binding and bind only when the name is missing.
Overwrite
Always render the source and replace any existing binding.
Auto Trait Implementations§
impl Freeze for BindMode
impl RefUnwindSafe for BindMode
impl Send for BindMode
impl Sync for BindMode
impl Unpin for BindMode
impl UnsafeUnpin for BindMode
impl UnwindSafe for BindMode
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