pub struct PayoutFunctionPiece {
pub end_point: PayoutPoint,
pub payout_curve_piece: PayoutCurvePiece,
}Expand description
A piece of a PayoutFunction.
Fields§
§end_point: PayoutPointThe left end point of the piece.
payout_curve_piece: PayoutCurvePieceThe function describing the curve for this piece.
Trait Implementations§
Source§impl Clone for PayoutFunctionPiece
impl Clone for PayoutFunctionPiece
Source§fn clone(&self) -> PayoutFunctionPiece
fn clone(&self) -> PayoutFunctionPiece
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PayoutFunctionPiece
impl Debug for PayoutFunctionPiece
Source§impl PartialEq for PayoutFunctionPiece
impl PartialEq for PayoutFunctionPiece
Source§impl Readable for PayoutFunctionPiece
impl Readable for PayoutFunctionPiece
Source§impl Writeable for PayoutFunctionPiece
impl Writeable for PayoutFunctionPiece
impl StructuralPartialEq for PayoutFunctionPiece
Auto Trait Implementations§
impl Freeze for PayoutFunctionPiece
impl RefUnwindSafe for PayoutFunctionPiece
impl Send for PayoutFunctionPiece
impl Sync for PayoutFunctionPiece
impl Unpin for PayoutFunctionPiece
impl UnwindSafe for PayoutFunctionPiece
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