pub struct ScryptoValueDisplayContext<'a> {
pub address_bech32_encoder: Option<&'a AddressBech32Encoder>,
}Fields§
§address_bech32_encoder: Option<&'a AddressBech32Encoder>Implementations§
Source§impl<'a> ScryptoValueDisplayContext<'a>
impl<'a> ScryptoValueDisplayContext<'a>
pub fn no_context() -> Self
pub fn with_optional_bech32( address_bech32_encoder: Option<&'a AddressBech32Encoder>, ) -> Self
Trait Implementations§
Source§impl<'a> Clone for ScryptoValueDisplayContext<'a>
impl<'a> Clone for ScryptoValueDisplayContext<'a>
Source§fn clone(&self) -> ScryptoValueDisplayContext<'a>
fn clone(&self) -> ScryptoValueDisplayContext<'a>
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<'a> CustomDisplayContext<'a> for ScryptoValueDisplayContext<'a>
impl<'a> CustomDisplayContext<'a> for ScryptoValueDisplayContext<'a>
Source§impl<'a> Debug for ScryptoValueDisplayContext<'a>
impl<'a> Debug for ScryptoValueDisplayContext<'a>
Source§impl<'a> Default for ScryptoValueDisplayContext<'a>
impl<'a> Default for ScryptoValueDisplayContext<'a>
Source§fn default() -> ScryptoValueDisplayContext<'a>
fn default() -> ScryptoValueDisplayContext<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a AddressBech32Encoder> for ScryptoValueDisplayContext<'a>
impl<'a> From<&'a AddressBech32Encoder> for ScryptoValueDisplayContext<'a>
Source§fn from(val: &'a AddressBech32Encoder) -> Self
fn from(val: &'a AddressBech32Encoder) -> Self
Converts to this type from the input type.
Source§impl<'a> From<AddressDisplayContext<'a>> for ScryptoValueDisplayContext<'a>
impl<'a> From<AddressDisplayContext<'a>> for ScryptoValueDisplayContext<'a>
Source§fn from(val: AddressDisplayContext<'a>) -> Self
fn from(val: AddressDisplayContext<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<Option<&'a AddressBech32Encoder>> for ScryptoValueDisplayContext<'a>
impl<'a> From<Option<&'a AddressBech32Encoder>> for ScryptoValueDisplayContext<'a>
Source§fn from(val: Option<&'a AddressBech32Encoder>) -> Self
fn from(val: Option<&'a AddressBech32Encoder>) -> Self
Converts to this type from the input type.
impl<'a> Copy for ScryptoValueDisplayContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScryptoValueDisplayContext<'a>
impl<'a> RefUnwindSafe for ScryptoValueDisplayContext<'a>
impl<'a> Send for ScryptoValueDisplayContext<'a>
impl<'a> Sync for ScryptoValueDisplayContext<'a>
impl<'a> Unpin for ScryptoValueDisplayContext<'a>
impl<'a> UnwindSafe for ScryptoValueDisplayContext<'a>
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