Function solana_sdk::account::from_account [−][src]
pub fn from_account<S: Sysvar>(account: &Account) -> Option<S>
Create a Sysvar
from an Account
’s data.
pub fn from_account<S: Sysvar>(account: &Account) -> Option<S>
Create a Sysvar
from an Account
’s data.