pub struct WalletIcon(pub Cow<'static, str>);
Expand description
A data URI containing a base64-encoded SVG, WebP, PNG, or GIF image.
Tuple Fields§
§0: Cow<'static, str>
Format data:image/${'svg+xml' | 'webp' | 'png' | 'gif'};base64,${string}
Trait Implementations§
Source§impl Clone for WalletIcon
impl Clone for WalletIcon
Source§fn clone(&self) -> WalletIcon
fn clone(&self) -> WalletIcon
Returns a copy 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 WalletIcon
impl Debug for WalletIcon
Source§impl Default for WalletIcon
impl Default for WalletIcon
Source§fn default() -> WalletIcon
fn default() -> WalletIcon
Returns the “default value” for a type. Read more
Source§impl Display for WalletIcon
impl Display for WalletIcon
Source§impl Hash for WalletIcon
impl Hash for WalletIcon
Source§impl Ord for WalletIcon
impl Ord for WalletIcon
Source§fn cmp(&self, other: &WalletIcon) -> Ordering
fn cmp(&self, other: &WalletIcon) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WalletIcon
impl PartialEq for WalletIcon
Source§impl PartialOrd for WalletIcon
impl PartialOrd for WalletIcon
impl Eq for WalletIcon
impl StructuralPartialEq for WalletIcon
Auto Trait Implementations§
impl Freeze for WalletIcon
impl RefUnwindSafe for WalletIcon
impl Send for WalletIcon
impl Sync for WalletIcon
impl Unpin for WalletIcon
impl UnwindSafe for WalletIcon
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