Struct fuels_core::types::Byte
source · pub struct Byte(pub u8);Tuple Fields
0: u8Trait Implementations
sourceimpl Parameterize for Byte
impl Parameterize for Byte
fn param_type() -> ParamType
sourceimpl Tokenizable for Byte
impl Tokenizable for Byte
sourcefn from_token(token: Token) -> Result<Self, Error>where
Self: Sized,
fn from_token(token: Token) -> Result<Self, Error>where
Self: Sized,
Converts a
Token into expected type.sourcefn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
Auto Trait Implementations
impl RefUnwindSafe for Byte
impl Send for Byte
impl Sync for Byte
impl Unpin for Byte
impl UnwindSafe for Byte
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more