#[repr(C)]pub struct WasmElementSegment {
pub tableIndex: U32,
pub offset: Buffer,
pub functionIndexCount: U32,
pub functionIndices: *mut U32,
}Fields§
§tableIndex: U32§offset: Buffer§functionIndexCount: U32§functionIndices: *mut U32Implementations§
Source§impl WasmElementSegment
impl WasmElementSegment
Sourcepub fn builder() -> WasmElementSegmentBuilder<((), (), (), ())>
pub fn builder() -> WasmElementSegmentBuilder<((), (), (), ())>
Create a builder for building WasmElementSegment.
On the builder, call .tableIndex(...), .offset(...), .functionIndexCount(...), .functionIndices(...) to set the values of the fields.
Finally, call .build() to create the instance of WasmElementSegment.
Trait Implementations§
Source§impl Clone for WasmElementSegment
impl Clone for WasmElementSegment
Source§fn clone(&self) -> WasmElementSegment
fn clone(&self) -> WasmElementSegment
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 ConstDefault for WasmElementSegment
impl ConstDefault for WasmElementSegment
Source§impl Debug for WasmElementSegment
impl Debug for WasmElementSegment
Source§impl Hash for WasmElementSegment
impl Hash for WasmElementSegment
impl Copy for WasmElementSegment
Auto Trait Implementations§
impl Freeze for WasmElementSegment
impl RefUnwindSafe for WasmElementSegment
impl !Send for WasmElementSegment
impl !Sync for WasmElementSegment
impl Unpin for WasmElementSegment
impl UnwindSafe for WasmElementSegment
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