Struct cml_chain_wasm::fees::LinearFee
source · pub struct LinearFee(/* private fields */);Expand description
Careful: although the linear fee is the same for Byron & Shelley The value of the parameters and how fees are computed is not the same
Implementations§
Trait Implementations§
source§impl FromWasmAbi for LinearFee
impl FromWasmAbi for LinearFee
source§impl IntoWasmAbi for LinearFee
impl IntoWasmAbi for LinearFee
source§impl OptionFromWasmAbi for LinearFee
impl OptionFromWasmAbi for LinearFee
source§impl OptionIntoWasmAbi for LinearFee
impl OptionIntoWasmAbi for LinearFee
source§impl RefFromWasmAbi for LinearFee
impl RefFromWasmAbi for LinearFee
source§impl RefMutFromWasmAbi for LinearFee
impl RefMutFromWasmAbi for LinearFee
Auto Trait Implementations§
impl Freeze for LinearFee
impl RefUnwindSafe for LinearFee
impl Send for LinearFee
impl Sync for LinearFee
impl Unpin for LinearFee
impl UnwindSafe for LinearFee
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.