pub struct ElemSegmentInfo {
pub table_index: u32,
pub offset: Option<u32>,
pub funcs: Option<Vec<u32>>,
}Expand description
#642: one element segment’s statically-decoded shape — see
DecodedModule::elem_segments.
Fields§
§table_index: u32#650: the table this ACTIVE segment initializes (0 for the pre-#650
single-table form). Meaningless when offset is None.
offset: Option<u32>Const i32 offset of an ACTIVE segment into its table; None =
placement not statically verifiable (passive/declared segment or a
non-const offset expression).
funcs: Option<Vec<u32>>The segment’s function indices in slot order; None = contents not
statically verifiable (an entry was not a plain ref.func).
Trait Implementations§
Source§impl Clone for ElemSegmentInfo
impl Clone for ElemSegmentInfo
Source§fn clone(&self) -> ElemSegmentInfo
fn clone(&self) -> ElemSegmentInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ElemSegmentInfo
impl Debug for ElemSegmentInfo
impl Eq for ElemSegmentInfo
Source§impl PartialEq for ElemSegmentInfo
impl PartialEq for ElemSegmentInfo
Source§fn eq(&self, other: &ElemSegmentInfo) -> bool
fn eq(&self, other: &ElemSegmentInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElemSegmentInfo
Auto Trait Implementations§
impl Freeze for ElemSegmentInfo
impl RefUnwindSafe for ElemSegmentInfo
impl Send for ElemSegmentInfo
impl Sync for ElemSegmentInfo
impl Unpin for ElemSegmentInfo
impl UnsafeUnpin for ElemSegmentInfo
impl UnwindSafe for ElemSegmentInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.