pub struct ExUnitsEncoding {
pub len_encoding: LenEncoding,
pub mem_encoding: Option<Sz>,
pub steps_encoding: Option<Sz>,
}
Fields§
§len_encoding: LenEncoding
§mem_encoding: Option<Sz>
§steps_encoding: Option<Sz>
Trait Implementations§
Source§impl Clone for ExUnitsEncoding
impl Clone for ExUnitsEncoding
Source§fn clone(&self) -> ExUnitsEncoding
fn clone(&self) -> ExUnitsEncoding
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 ExUnitsEncoding
impl Debug for ExUnitsEncoding
Source§impl Default for ExUnitsEncoding
impl Default for ExUnitsEncoding
Source§fn default() -> ExUnitsEncoding
fn default() -> ExUnitsEncoding
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExUnitsEncoding
impl RefUnwindSafe for ExUnitsEncoding
impl Send for ExUnitsEncoding
impl Sync for ExUnitsEncoding
impl Unpin for ExUnitsEncoding
impl UnwindSafe for ExUnitsEncoding
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more