1 2 3 4 5 6 7 8 9
use crate::Word; use crate::note::NoteScriptRoot; impl NoteScriptRoot { /// Creates a [`NoteScriptRoot`] from an array of u32s for testing purposes. pub fn from_array(array: [u32; 4]) -> Self { Self::from_raw(Word::from(array)) } }