pub struct StablePool {
pub amp: U256,
}Expand description
Stable pool implementation
Fields§
§amp: U256Implementations§
Source§impl StablePool
impl StablePool
Sourcepub fn new(pool_state: StableMutable) -> Self
pub fn new(pool_state: StableMutable) -> Self
Create a new stable pool
Trait Implementations§
Source§impl PoolBase for StablePool
impl PoolBase for StablePool
Auto Trait Implementations§
impl Freeze for StablePool
impl RefUnwindSafe for StablePool
impl Send for StablePool
impl Sync for StablePool
impl Unpin for StablePool
impl UnwindSafe for StablePool
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