pub struct ChangeBps {
pub bps: i64,
pub clamped: bool,
}Expand description
A recorded change, and whether CHANGE_CLAMP_BPS is what bounded it.
Fields§
§bps: i64The change in basis points, clamped to ±CHANGE_CLAMP_BPS.
clamped: boolWhether the clamp bounded it.
Trait Implementations§
impl Copy for ChangeBps
impl Eq for ChangeBps
impl StructuralPartialEq for ChangeBps
Auto Trait Implementations§
impl Forget for ChangeBps
impl Freeze for ChangeBps
impl Move for ChangeBps
impl RefUnwindSafe for ChangeBps
impl Send for ChangeBps
impl Sync for ChangeBps
impl Unpin for ChangeBps
impl UnsafeUnpin for ChangeBps
impl UnwindSafe for ChangeBps
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