pub enum SolanaType {
Show 21 variants
U8,
U16,
U32,
U64,
U128,
I8,
I16,
I32,
I64,
I128,
Bool,
Pubkey,
Signer,
String,
Bytes,
FixedBytes(usize),
Array(Box<SolanaType>, usize),
Vec(Box<SolanaType>),
Option(Box<SolanaType>),
Mapping(Box<SolanaType>, Box<SolanaType>),
Custom(String),
}Expand description
Types in Solana IR
Variants§
U8
U16
U32
U64
U128
I8
I16
I32
I64
I128
Bool
Pubkey
Signer
String
Bytes
FixedBytes(usize)
Array(Box<SolanaType>, usize)
Vec(Box<SolanaType>)
Option(Box<SolanaType>)
Mapping(Box<SolanaType>, Box<SolanaType>)
Custom(String)
Trait Implementations§
Source§impl Clone for SolanaType
impl Clone for SolanaType
Source§fn clone(&self) -> SolanaType
fn clone(&self) -> SolanaType
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 moreAuto Trait Implementations§
impl Freeze for SolanaType
impl RefUnwindSafe for SolanaType
impl Send for SolanaType
impl Sync for SolanaType
impl Unpin for SolanaType
impl UnwindSafe for SolanaType
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