Skip to content

Version 0.8.0

Compare
Choose a tag to compare
@Voultapher Voultapher released this 13 May 07:38
· 100 commits to main since this release

This release adds 2 new features:

  • support for mutating the dependent value with a new function: fn with_dependent_mut<Ret>(&mut self, func: impl for<'a> FnOnce(&'a $Owner, &'a mut $Dependent<'a>) -> Ret) -> Ret.

  • support for fallible construction from functions with a new constructor type try_from_fn

See the docs for details https://docs.rs/self_cell/0.8.0/self_cell/macro.self_cell.html