Struct fuels_types::B512
source · pub struct B512 {
pub bytes: [Bits256; 2],
}
Fields§
§bytes: [Bits256; 2]
Trait Implementations§
source§impl Parameterize for B512
impl Parameterize for B512
fn param_type() -> ParamType
source§impl PartialEq<B512> for B512
impl PartialEq<B512> for B512
source§impl Tokenizable for B512
impl Tokenizable for B512
source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
source§fn from_token(token: Token) -> Result<Self>
fn from_token(token: Token) -> Result<Self>
Converts a
Token
into expected type.impl Copy for B512
impl Eq for B512
impl StructuralEq for B512
impl StructuralPartialEq for B512
Auto Trait Implementations§
impl RefUnwindSafe for B512
impl Send for B512
impl Sync for B512
impl Unpin for B512
impl UnwindSafe for B512
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.