#[repr(C)]pub struct SetCreateParams {
pub dest: u8,
pub elements: Vec<u8>,
}Available on crate feature
rvm only.Expand description
Set creation parameters stored in program’s instruction data table
Fields§
§dest: u8Destination register to store the result set
elements: Vec<u8>Register numbers containing the element values
Implementations§
Source§impl SetCreateParams
impl SetCreateParams
Sourcepub const fn element_count(&self) -> usize
pub const fn element_count(&self) -> usize
Get the number of elements
Sourcepub fn element_registers(&self) -> &[u8] ⓘ
pub fn element_registers(&self) -> &[u8] ⓘ
Get element register numbers as a slice
Trait Implementations§
Source§impl Clone for SetCreateParams
impl Clone for SetCreateParams
Source§fn clone(&self) -> SetCreateParams
fn clone(&self) -> SetCreateParams
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 Debug for SetCreateParams
impl Debug for SetCreateParams
Source§impl<'de> Deserialize<'de> for SetCreateParams
impl<'de> Deserialize<'de> for SetCreateParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetCreateParams
impl RefUnwindSafe for SetCreateParams
impl Send for SetCreateParams
impl Sync for SetCreateParams
impl Unpin for SetCreateParams
impl UnwindSafe for SetCreateParams
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