Struct fuels_types::Bits256
source · pub struct Bits256(pub [u8; 32]);
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl From<Bits256> for EvmAddress
impl From<Bits256> for EvmAddress
source§impl Parameterize for Bits256
impl Parameterize for Bits256
fn param_type() -> ParamType
source§impl PartialEq<Bits256> for Bits256
impl PartialEq<Bits256> for Bits256
source§impl Tokenizable for Bits256
impl Tokenizable for Bits256
source§fn from_token(token: Token) -> Result<Self>where
Self: Sized,
fn from_token(token: Token) -> Result<Self>where Self: Sized,
Converts a
Token
into expected type.source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
impl Copy for Bits256
impl Eq for Bits256
impl StructuralEq for Bits256
impl StructuralPartialEq for Bits256
Auto Trait Implementations§
impl RefUnwindSafe for Bits256
impl Send for Bits256
impl Sync for Bits256
impl Unpin for Bits256
impl UnwindSafe for Bits256
Blanket Implementations§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.