pub struct PoolMut<'a> {
pub balance: &'a mut Uint256,
pub shares: &'a mut Uint256,
}Fields§
§balance: &'a mut Uint256Trait Implementations§
Source§impl GetPoolMut for PoolMut<'_>
impl GetPoolMut for PoolMut<'_>
fn get_pool_mut(&mut self) -> PoolMut<'_>
Source§impl GetPoolRef for PoolMut<'_>
impl GetPoolRef for PoolMut<'_>
fn get_pool_ref(&self) -> PoolRef<'_>
Auto Trait Implementations§
impl<'a> Freeze for PoolMut<'a>
impl<'a> RefUnwindSafe for PoolMut<'a>
impl<'a> Send for PoolMut<'a>
impl<'a> Sync for PoolMut<'a>
impl<'a> Unpin for PoolMut<'a>
impl<'a> !UnwindSafe for PoolMut<'a>
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