]> git.proxmox.com Git - pxar.git/commit
add EncoderOutput::to_borrowed()
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 17 Feb 2021 08:50:10 +0000 (09:50 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 17 Feb 2021 08:51:38 +0000 (09:51 +0100)
commitb8d79e5fc789dc54032c501f913a75355e6015e7
treeaddebafce0ec423898dcbc719c32482306549dbb
parentf9048598160eff4a3c602a67118aeb142a0f3de6
add EncoderOutput::to_borrowed()

may more "explicit" than using `.as_mut().into()`, but
otherwise just seems like a useful addition to show the
lifetime constraints on this

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/encoder/mod.rs