pub struct SlotEntry {
pub slot_id: u16,
pub name_str_idx: u32,
pub type_hint: SlotType,
pub source: SlotSource,
pub default_bytes: Vec<u8>,
}Expand description
A slot declaration in the slot table.
Fields§
§slot_id: u16Unique slot identifier within the module.
name_str_idx: u32Index into the string table for the slot name.
type_hint: SlotTypeExpected data type for this slot.
source: SlotSourceWhere the slot value originates at runtime.
default_bytes: Vec<u8>Default value bytes (empty if no default).
Trait Implementations§
impl Eq for SlotEntry
impl StructuralPartialEq for SlotEntry
Auto Trait Implementations§
impl Freeze for SlotEntry
impl RefUnwindSafe for SlotEntry
impl Send for SlotEntry
impl Sync for SlotEntry
impl Unpin for SlotEntry
impl UnsafeUnpin for SlotEntry
impl UnwindSafe for SlotEntry
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