Struct salsa_2022::setter::Setter
source · [−]pub struct Setter<'setter, K, F> { /* private fields */ }
Implementations
sourceimpl<'setter, K, F> Setter<'setter, K, F>where
K: Eq + Hash + AsId,
impl<'setter, K, F> Setter<'setter, K, F>where
K: Eq + Hash + AsId,
pub fn new(
runtime: &'setter mut Runtime,
key: K,
ingredient: &'setter mut InputFieldIngredient<K, F>
) -> Self
pub fn with_durability(self, durability: Durability) -> Self
pub fn to(self, value: F) -> F
Auto Trait Implementations
impl<'setter, K, F> !RefUnwindSafe for Setter<'setter, K, F>
impl<'setter, K, F> Send for Setter<'setter, K, F>where
F: Send,
K: Send,
impl<'setter, K, F> !Sync for Setter<'setter, K, F>
impl<'setter, K, F> Unpin for Setter<'setter, K, F>where
K: Unpin,
impl<'setter, K, F> !UnwindSafe for Setter<'setter, K, F>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more